aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/images/kernel_image_methods/test_2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/images/kernel_image_methods/test_2D.cpp')
-rw-r--r--test_conformance/images/kernel_image_methods/test_2D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_conformance/images/kernel_image_methods/test_2D.cpp b/test_conformance/images/kernel_image_methods/test_2D.cpp
index b0d4a708..07f8d929 100644
--- a/test_conformance/images/kernel_image_methods/test_2D.cpp
+++ b/test_conformance/images/kernel_image_methods/test_2D.cpp
@@ -232,6 +232,7 @@ int test_get_image_info_2D(cl_device_id device, cl_context context,
if (memSize > (cl_ulong)SIZE_MAX) {
memSize = (cl_ulong)SIZE_MAX;
+ maxAllocSize = (cl_ulong)SIZE_MAX;
}
if( gTestSmallImages )