aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp')
-rw-r--r--test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp b/test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp
index eb6dd552..1819d87c 100644
--- a/test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp
+++ b/test_conformance/images/clCopyImage/test_copy_2D_2D_array.cpp
@@ -224,6 +224,7 @@ int test_copy_image_set_2D_2D_array( cl_device_id device, cl_context context, cl
if (memSize > (cl_ulong)SIZE_MAX) {
memSize = (cl_ulong)SIZE_MAX;
+ maxAllocSize = (cl_ulong)SIZE_MAX;
}
if( gTestSmallImages )