mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
Fix check for image support in test_basic sizeof (#1269)
This commit is contained in:
@@ -292,11 +292,11 @@ int test_sizeof(cl_device_id device, cl_context context, cl_command_queue queue,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( gIsEmbedded &&
|
if (0 == strcmp(other_types[i], "image3d_t")
|
||||||
0 == strcmp(other_types[i], "image3d_t") &&
|
&& checkFor3DImageSupport(device) == CL_IMAGE_FORMAT_NOT_SUPPORTED)
|
||||||
checkFor3DImageSupport( device ) == CL_IMAGE_FORMAT_NOT_SUPPORTED)
|
|
||||||
{
|
{
|
||||||
log_info("\n3D images are not supported by this device. Skipping test.\t");
|
log_info("\n3D images are not supported by this device. "
|
||||||
|
"Skipping test.\t");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user