Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenCL] Fix UR_ADAPTER_INFO_BACKEND value #1151

Merged

Conversation

callumfare
Copy link
Contributor

No description provided.

@callumfare callumfare requested a review from a team as a code owner December 4, 2023 11:28
@@ -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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is why urinfo was reporting the OpenCL adapter as CUDA!

@fabiomestre fabiomestre changed the base branch from adapters to main December 5, 2023 16:41
@fabiomestre
Copy link
Contributor

I have updated the target branch of this PR from the adapters branch to the main branch.
Development in UR is moving back to main. The adapters branch will soon be deleted.

@kbenzie kbenzie merged commit 8b53b20 into oneapi-src:main Dec 8, 2023
43 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants