mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +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;
|
||||
}
|
||||
|
||||
if( gIsEmbedded &&
|
||||
0 == strcmp(other_types[i], "image3d_t") &&
|
||||
checkFor3DImageSupport( device ) == CL_IMAGE_FORMAT_NOT_SUPPORTED)
|
||||
if (0 == strcmp(other_types[i], "image3d_t")
|
||||
&& 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user