mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
@@ -132,7 +132,7 @@ int test_get_image_info_single( cl_context context, image_descriptor *imageInfo,
|
||||
|
||||
size_t outSlicePitch;
|
||||
error = clGetImageInfo( image, CL_IMAGE_SLICE_PITCH, sizeof( outSlicePitch ), &outSlicePitch, NULL );
|
||||
test_error( error, "Unable to get image info (row pitch)" );
|
||||
test_error( error, "Unable to get image info (slice pitch)" );
|
||||
if( imageInfo->type == CL_MEM_OBJECT_IMAGE1D && outSlicePitch != 0 )
|
||||
{
|
||||
log_error( "ERROR: slice pitch returned is invalid! (expected %d, got %d)\n",
|
||||
|
||||
Reference in New Issue
Block a user