mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix image test image2d_from_buffer_positive (#1515)
This commit is contained in:
committed by
GitHub
parent
d285ebe5be
commit
f6e37b17d2
@@ -73,6 +73,12 @@ int image2d_from_buffer_positive(cl_device_id device, cl_context context,
|
||||
return TEST_SKIPPED_ITSELF;
|
||||
}
|
||||
|
||||
if (!is_extension_available(device, "cl_ext_image_requirements_info"))
|
||||
{
|
||||
printf("Extension cl_ext_image_requirements_info not available");
|
||||
return TEST_SKIPPED_ITSELF;
|
||||
}
|
||||
|
||||
std::vector<cl_mem_object_type> imageTypes{
|
||||
CL_MEM_OBJECT_IMAGE1D, CL_MEM_OBJECT_IMAGE2D,
|
||||
CL_MEM_OBJECT_IMAGE3D, CL_MEM_OBJECT_IMAGE1D_BUFFER,
|
||||
|
||||
Reference in New Issue
Block a user