Skip to content

[SYCL] Correction to handler::require API #2325

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 3 commits into from
Aug 17, 2020
Merged

[SYCL] Correction to handler::require API #2325

merged 3 commits into from
Aug 17, 2020

Conversation

rdeodhar
Copy link
Contributor

@rdeodhar rdeodhar commented Aug 16, 2020

This fix corrects the definition of the handler::require API in our headers to match the SYCL specification.
The SYCL spec defines the accessor parameter of "require" to be passed by value. Our headers defined the API to take an accessor by reference.
This PR changes the accessor parameter from reference to value.

Signed-off-by: rdeodhar [email protected]

@rdeodhar rdeodhar requested a review from a team as a code owner August 16, 2020 19:55
@rdeodhar rdeodhar requested a review from rbegam August 16, 2020 19:55
@s-kanaev
Copy link
Contributor

@rdeodhar, please, provide description of the problem this patch solves.

@romanovvlad
Copy link
Contributor

/summary:run

Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

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

LGTM, but, please, address Sergey's comment.

@bader bader merged commit 68c275c into intel:sycl Aug 17, 2020
@rdeodhar rdeodhar deleted the i21966 branch January 15, 2021 17:32
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
…msan

[DeviceMSAN] Support MemorySanitizer for device offloading
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.

4 participants