-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL][ESIMD] Explicit SIMD memory-access APIs #1856
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
[SYCL][ESIMD] Explicit SIMD memory-access APIs #1856
Conversation
Review only 4th commit: |
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.
Thanks for renaming flat_load
to gather
and flat_store
to scatter
. I think this looks a lot clearer. It probably makes sense to rename the tests as well (e.g. flat_load.cpp
to gather.cpp
).
We should discuss the CacheHint
template arguments and flat_atomic
interface some more, but that shouldn't block this PR.
6680acb
to
ae0e459
Compare
04e1f3b
to
a095d32
Compare
This commit adds implementation of Explicit SIMD memory-access APIs along with memory intrinsics used to implement operations with SIMD classes. Co-authored-by: Chen, Gang Y <gang.y.chen@intel.com> Co-authored-by: Chen, Kai Yu <kai.yu.chen@intel.com> Co-authored-by: Bobrovsky, Konstantin S <konstantin.s.bobrovsky@intel.com> Co-authored-by: Ashar, Pratik J <pratik.j.ashar@intel.com> Signed-off-by: Denis Bakhvalov <denis.bakhvalov@intel.com>
a09386c
to
cdc3044
Compare
@DenisBakhvalov Is this ready for review? If no, please mark as a draft. If yes, the patch changes 1500 LOC which is quite huge, could please split it up to several patches? |
@romanovvlad , The patch is ready for review. I know, the patch is relatively big, but all changes serve the same logical purpose. It was reviewed earlier by @Pennycook. |
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.
@Pennycook Could you please approve if it's OK with you?
@@ -0,0 +1,23 @@ | |||
// RUN: %clangxx -fsycl -fsycl-explicit-simd -fsycl-device-only -fsyntax-only -Xclang -verify %s | |||
// expected-no-diagnostics |
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.
Can we have tests with real execution rather than just frontend checks?
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.
We would have functional tests once we upstream the whole ESIMD extension.
This commit adds implementation of Explicit SIMD memory-access
APIs along with memory intrinsics used to implement operations
with SIMD classes.