aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/images/samplerlessReads/test_read_3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/images/samplerlessReads/test_read_3D.cpp')
-rw-r--r--test_conformance/images/samplerlessReads/test_read_3D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_conformance/images/samplerlessReads/test_read_3D.cpp b/test_conformance/images/samplerlessReads/test_read_3D.cpp
index cf411407..0df46c86 100644
--- a/test_conformance/images/samplerlessReads/test_read_3D.cpp
+++ b/test_conformance/images/samplerlessReads/test_read_3D.cpp
@@ -206,6 +206,7 @@ int test_read_image_set_3D(cl_device_id device, cl_context context,
if (memSize > (cl_ulong)SIZE_MAX) {
memSize = (cl_ulong)SIZE_MAX;
+ maxAllocSize = (cl_ulong)SIZE_MAX;
}
// Determine types