Skip to content

Commit 6ab3484

Browse files
committed
[CL] Update device CTS match file
This patch deos three things: 1. Removes the passing OpenCL test from the device match file `urDeviceGetInfoTest.Success/UR_DEVICE_INFO_HALF_FP_CONFIG` 2. Uses `UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION` when half query is not supported 3. Adds the `--verbose` flag to `urinfo` step to provide more information when HW jobs fail.
1 parent 6d5d84c commit 6ab3484

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/scripts/get_system_info.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function system_info {
5353
echo "**********/proc/meminfo**********"
5454
cat /proc/meminfo
5555
echo "**********build/bin/urinfo**********"
56-
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo || true
56+
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo --no-linear-ids --verbose || true
5757
echo "******OpenCL*******"
5858
# The driver version of OpenCL Graphics is the compute-runtime version
5959
clinfo || echo "OpenCL not installed"

source/adapters/opencl/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
507507
cl_adapter::cast<cl_device_id>(hDevice), {"cl_khr_fp16"}, Supported));
508508

509509
if (!Supported) {
510-
return UR_RESULT_ERROR_INVALID_ENUMERATION;
510+
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;
511511
}
512512
}
513513

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_HALF_FP_CONFIG

0 commit comments

Comments
 (0)