Skip to content

Conversation

@sergey-semenov
Copy link
Contributor

@sergey-semenov sergey-semenov commented Feb 18, 2021

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.

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.
@sergey-semenov sergey-semenov changed the title [SYCL] Add support for group_local_memory_for_overwrite to headers [SYCL] Add support for the SYCL_INTEL_local_memory extension to headers Mar 1, 2021
@mlychkov
Copy link
Contributor

calls to which will then be transformed by a function pass. -> by a module pass.

@sergey-semenov sergey-semenov requested review from a team and dm-vodopyanov and removed request for a team March 17, 2021 12:19
@sergey-semenov
Copy link
Contributor Author

Depends on the changes from #3329

@sergey-semenov sergey-semenov marked this pull request as ready for review March 17, 2021 13:25
@sergey-semenov sergey-semenov requested review from a team and kbobrovs as code owners March 17, 2021 13:25
dm-vodopyanov
dm-vodopyanov previously approved these changes Mar 18, 2021
@sergey-semenov
Copy link
Contributor Author

@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;
Copy link
Contributor

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) ?

Copy link
Contributor Author

@sergey-semenov sergey-semenov Mar 24, 2021

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.

@romanovvlad romanovvlad merged commit 5a66fcb into intel:sycl Mar 24, 2021
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.

6 participants