aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/images/clGetInfo/test_3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/images/clGetInfo/test_3D.cpp')
-rw-r--r--test_conformance/images/clGetInfo/test_3D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_conformance/images/clGetInfo/test_3D.cpp b/test_conformance/images/clGetInfo/test_3D.cpp
index af5062e3..e1261863 100644
--- a/test_conformance/images/clGetInfo/test_3D.cpp
+++ b/test_conformance/images/clGetInfo/test_3D.cpp
@@ -47,6 +47,7 @@ int test_get_image_info_3D( cl_device_id device, cl_context context, cl_image_fo
if (memSize > (cl_ulong)SIZE_MAX) {
memSize = (cl_ulong)SIZE_MAX;
+ maxAllocSize = (cl_ulong)SIZE_MAX;
}
if( gTestSmallImages )