Skip to content

Commit 53f3383

Browse files
committed
[OpenCL] Fix UR_ADAPTER_INFO_BACKEND value
1 parent 47af3ee commit 53f3383

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)