Skip to content

[SYCL][NATIVECPU]Rename ext_native_cpu to ext_oneapi_native_cpu #12187

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

Merged
merged 4 commits into from
Dec 18, 2023

Conversation

PietroGhg
Copy link
Contributor

Renames the ext_native_cpu backend type to ext_oneapi_native_cpu, making it conformant to the SYCL specification.

@PietroGhg PietroGhg requested a review from a team as a code owner December 15, 2023 14:44
@PietroGhg PietroGhg changed the title Rename ext_native_cpu to ext_oneapi_native_cpu [SYCL][NATIVECPU]Rename ext_native_cpu to ext_oneapi_native_cpu Dec 15, 2023
@@ -56,7 +56,7 @@ inline std::ostream &operator<<(std::ostream &Out, backend be) {
case backend::ext_oneapi_hip:
Out << "ext_oneapi_hip";
break;
case backend::ext_native_cpu:
case backend::ext_oneapi_native_cpu:
Out << "ext_native_cpu";
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be changed as well. It will modify sycl-ls output but that would be a separate bugfix, not necessarily made in this area of the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing this out, I've made the change, I don't think the output of sycl-ls is used anywhere right now for native cpu

@aelovikov-intel aelovikov-intel merged commit 0cd0b76 into intel:sycl Dec 18, 2023
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.

2 participants