-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL] Add support for the SYCL_INTEL_local_memory extension to headers #3228
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
Conversation
Header part of the implementation of group_local_memory_for_overwrite from SYCL_INTEL_local_memory extension. Declares and uses __sycl_allocate_local_memory function the calls to which will then be transformed by a function pass.
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
|
calls to which will then be transformed by a function pass. -> by a module pass. |
|
Depends on the changes from #3329 |
|
@kbobrovs ping |
| detail::is_group<Group>::value, | ||
| multi_ptr<T, access::address_space::local_space>> | ||
| __SYCL_ALWAYS_INLINE group_local_memory(Group g, Args &&... args) { | ||
| (void)g; |
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.
NIT: descriptive macro for this - UNUSED_ARG(g) ?
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.
I don't mind the change, but if it is to be made, it would be more appropriate as a separate one for the whole runtime codebase, since direct casting to void is used extensively right now.
Header part of the implementation of group_local_memory and
group_local_memory_for_overwrite from SYCL_INTEL_local_memory extension.
Declares and uses __sycl_allocate_local_memory function the calls to which
will then be transformed by a module pass.