Skip to content

Commit

Permalink
Merge pull request #1593 from kbenzie/benie/cl-update-device-match-file
Browse files Browse the repository at this point in the history
[CL] Update device CTS match file
  • Loading branch information
kbenzie committed May 10, 2024
1 parent 7195122 commit 562d44f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/get_system_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function system_info {
echo "**********/proc/meminfo**********"
cat /proc/meminfo
echo "**********build/bin/urinfo**********"
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo || true
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo --no-linear-ids --verbose || true
echo "******OpenCL*******"
# The driver version of OpenCL Graphics is the compute-runtime version
clinfo || echo "OpenCL not installed"
Expand Down
2 changes: 1 addition & 1 deletion source/adapters/opencl/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
cl_adapter::cast<cl_device_id>(hDevice), {"cl_khr_fp16"}, Supported));

if (!Supported) {
return UR_RESULT_ERROR_INVALID_ENUMERATION;
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;
}
}

Expand Down
1 change: 0 additions & 1 deletion test/conformance/device/device_adapter_opencl.match
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_HALF_FP_CONFIG

0 comments on commit 562d44f

Please sign in to comment.