Skip to content

Commit

Permalink
[OpenCL] Fix UR_ADAPTER_INFO_BACKEND value
Browse files Browse the repository at this point in the history
  • Loading branch information
callumfare committed Dec 4, 2023
1 parent 47af3ee commit 53f3383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/opencl/adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urAdapterGetInfo(ur_adapter_handle_t,

switch (propName) {
case UR_ADAPTER_INFO_BACKEND:
return ReturnValue(UR_ADAPTER_BACKEND_CUDA);
return ReturnValue(UR_ADAPTER_BACKEND_OPENCL);
case UR_ADAPTER_INFO_REFERENCE_COUNT:
return ReturnValue(adapter.RefCount.load());
default:
Expand Down

0 comments on commit 53f3383

Please sign in to comment.