-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Add size_type, to accessor and local_accessor classes. #8379
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
Update failing tests due to adding diagnostic for const qualified DataT only allowed for non readonly accessor.
- Use -Xclang -verify for testing
Having it requires handling over 20 expected-erros.
…o inheritance from base class hitting assert.
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.
Could you please add a small in-tree LIT test making sure size_type
is available for the various accessors and that it is the right type?
Thanks @steffenlarsen , done. |
@mmoadeli, OpenCL CPU and ESIMD emulator results were invalid due to infrastructure issue. I'll restart the pre-commit to get relevant results as soon as possible. No actions from your side are required. Sorry for inconvenience. |
…dy defined in base class.
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!
Shouldn't we use C++ type (i.e. |
Specification Interface for buffer command accessors defines it as |
Okay. Let me forward this question to @intel/dpcpp-specification-reviewers. |
I agree that the SYCL spec should use the https://gitlab.khronos.org/sycl/Specification/-/issues/648 It would be better to use FWIW, all C++ compilers that I know of recognize |
Last 4 tests were disabled on HIP in intel/llvm-test-suite#1639, |
Uh oh!
There was an error while loading. Please reload this page.