summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/clover/core/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp
index 53714b4283c..a764bb55ea8 100644
--- a/src/gallium/state_trackers/clover/core/kernel.cpp
+++ b/src/gallium/state_trackers/clover/core/kernel.cpp
@@ -115,7 +115,7 @@ _cl_kernel::mem_private() const {
size_t
_cl_kernel::max_block_size() const {
- return SIZE_MAX;
+ return std::numeric_limits<std::size_t>::max();
}
const std::string &