-
Notifications
You must be signed in to change notification settings - Fork 789
[SYCL] Added missing SYCL 2020 USM features #3897
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
- USM atomic allocation aspects (+ tests) - handler::mem_advise - handler::copy and queue::copy - queue class: overloads of fill, memset, memcpy, copy, mem_advise, prefetch with dependency event arguments - optional property list argument in USM allocation functions and usm_allocator constructors (+ tests)
/summary:run |
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.
other than the question, LGTM.
Pinging the reviewers: @intel/llvm-reviewers-runtime , @s-kanaev, @jbrodman, @dm-vodopyanov. |
@dnmokhov could you add tests for newly added functionality to https://github.com/intel/llvm-test-suite/ |
Co-authored-by: sergei <[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.
LGTM
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.
LGTM
I noticed that this change was just merged. Coincidentally, the language evolution group just identified a spec bug here. The USM Can we change the implementation of these USM |
@gmlueck - is that right? |
We agree that The USM We also think that the |
As noted in #3897 (comment), a spec bug was identified. The USM `copy` member functions take the `src` and `dst` parameters in the wrong order. The order should be `(src, dst)`, which matches the standard C++ `copy` function and matches the existing SYCL `copy` functions that take accessor parameters.
handler::mem_advise
handler::copy
andqueue::copy
queue
class: overloads offill
,memset
,memcpy
,copy
,mem_advise
,prefetch
with dependency event argumentsusm_allocator
constructors (+ tests)Tests: intel/llvm-test-suite#342