aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/images/samplerlessReads/test_read_1D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/images/samplerlessReads/test_read_1D.cpp')
-rw-r--r--test_conformance/images/samplerlessReads/test_read_1D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_conformance/images/samplerlessReads/test_read_1D.cpp b/test_conformance/images/samplerlessReads/test_read_1D.cpp
index aa261b7e..6ed9910a 100644
--- a/test_conformance/images/samplerlessReads/test_read_1D.cpp
+++ b/test_conformance/images/samplerlessReads/test_read_1D.cpp
@@ -215,6 +215,7 @@ int test_read_image_set_1D(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