aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/images/clReadWriteImage/test_read_3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/images/clReadWriteImage/test_read_3D.cpp')
-rw-r--r--test_conformance/images/clReadWriteImage/test_read_3D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_conformance/images/clReadWriteImage/test_read_3D.cpp b/test_conformance/images/clReadWriteImage/test_read_3D.cpp
index 2dcd2433..ced04abf 100644
--- a/test_conformance/images/clReadWriteImage/test_read_3D.cpp
+++ b/test_conformance/images/clReadWriteImage/test_read_3D.cpp
@@ -83,7 +83,6 @@ int test_read_image_3D(cl_context context, cl_command_queue queue,
for(size_t lod = 0; (gTestMipmaps && lod < imageInfo->num_mip_levels) || (!gTestMipmaps && lod < 1); lod++)
{
- float lod_float = (float) lod;
origin[3] = lod;
size_t width_lod, height_lod, depth_lod, row_pitch_lod, slice_pitch_lod;
@@ -175,6 +174,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;
}
if( gTestSmallImages )