Skip to content

Commit 8b53b20

Browse files
authored
Merge pull request #1151 from callumfare/opencl_fix_adapter_backend_value
[OpenCL] Fix UR_ADAPTER_INFO_BACKEND value
2 parents 861d95d + 53f3383 commit 8b53b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/opencl/adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urAdapterGetInfo(ur_adapter_handle_t,
6666

6767
switch (propName) {
6868
case UR_ADAPTER_INFO_BACKEND:
69-
return ReturnValue(UR_ADAPTER_BACKEND_CUDA);
69+
return ReturnValue(UR_ADAPTER_BACKEND_OPENCL);
7070
case UR_ADAPTER_INFO_REFERENCE_COUNT:
7171
return ReturnValue(adapter.RefCount.load());
7272
default:

0 commit comments

Comments
 (0)