-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #437 from AerialMantis/SYCL-2020/multi-ptr-fixes
Add minor fixes to accessor/multi_ptr wording. Some minor issues were raised in #432 after the PR was merged, so this is a follow-up PR to address those. This PR adds a restriction for accessor::get_multi_ptr that it's only available when AccessTarget is target::device as it can't be used in a host task. It adds the value_type alias to the decorated::legacy specialization of multi_ptr and adds the get_raw and get_decorated member functions to the void/decorated::legacy specializations of multi_ptr. It also changes the alias used in multi_ptr::get_raw in the decorated::legacy specialization to ElementType as value_type is not defined.
- Loading branch information
Showing
3 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters