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:
ellnor01
2020-04-15 16:03:19 +01:00
committed by GitHub
parent f413103970
commit c19897ff0f
4 changed files with 2 additions and 52 deletions

View File

@@ -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");