mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Remove check_opencl_version function (#734)
Removing all references to check_opencl_version as similar get_device_cl_version() can be used instead. Fixes #527 Change-Id: I474b6f536033707e1beb9b5b39410de24672c040 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
This commit is contained in:
@@ -204,7 +204,7 @@ int test_image_set( cl_device_id device, cl_context context, cl_command_queue qu
|
||||
gDeviceLt20 = true;
|
||||
}
|
||||
|
||||
if ((version_check = check_opencl_version(device,1,2))) {
|
||||
if (version_check = (version < Version(1,2))) {
|
||||
switch (imageType) {
|
||||
case CL_MEM_OBJECT_IMAGE1D:
|
||||
test_missing_feature(version_check, "image_1D");
|
||||
|
||||
Reference in New Issue
Block a user