-
Notifications
You must be signed in to change notification settings - Fork 803
[SYCL] Implement sycl_ext_oneapi_usm_shortcuts #20911
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
base: sycl
Are you sure you want to change the base?
Conversation
Signed-off-by: Hu, Peisen <[email protected]>
Signed-off-by: Hu, Peisen <[email protected]>
KornevNikita
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SYCL_EXT_ONEAPI_USM_SHORTCUTS isn't defined yet, right?
Signed-off-by: Hu, Peisen <[email protected]>
Yup added that. TY! |
Signed-off-by: Hu, Peisen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this PR fully implements the extension, please also move it to the "experimental" folder and update the Status section.
| #include <cassert> | ||
|
|
||
| using namespace sycl; | ||
| using namespace sycl::ext::oneapi::experimental; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we normally add using namespace to our tests? I thought that was generally considered bad practice.
The extension's specification can be found here: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_usm_shortcuts.asciidoc