-
Notifications
You must be signed in to change notification settings - Fork 30
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
Allow setting local_accessors as kernel arguments in DPCTLQueue_Submit #1558
Conversation
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_18 ran successfully. |
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.
Looks good to me, modulo a nit comment. Thank you @diptorupd
dca1db1
to
9e0754f
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_38 ran successfully. |
9e0754f
to
1589677
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_49 ran successfully. |
1589677
to
e6f4f55
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_63 ran successfully. |
22abbee
to
4023e87
Compare
0b9caa6
to
41e5abb
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_70 ran successfully. |
1 similar comment
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_70 ran successfully. |
41e5abb
to
37d6de8
Compare
- Adds support in libsyclinterface:: dpctl_sycl_queue_interface for sycl::local_accessor as kernel arguments. - Refactoring to get rid of compiler warnings.
37d6de8
to
f288a2a
Compare
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_75 ran successfully. |
libsyclinterface/tests/test_sycl_queue_submit_local_accessor_arg.cpp
Outdated
Show resolved
Hide resolved
…ocal-accessor-kernel-arg-type Add local_accessor kernel_arg_type
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_78 ran successfully. |
Test submit for 1D range, 2D range, and 3D range, and also specify dependent events.
The llvm-cov-report outputs the coverage summary, while llvm-cov-show displays per-line coverage statistics to identify missed lines.
Let LLVM_TOOLS_HOME and PATH to make llvm-cov, and llvm-profdata discoverable by cmake.
…face Improve coverage sycl interface
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_88 ran successfully. |
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.
Looks good to me. Thank you @diptorupd !
The
libsyclinterface
library provides a minimal C API interface to submit kernels to asycl::queue
and use thesycl::handler
classesset_arg
to set the arguments with which to launch a kernel.The PR adds a way to create a
local_accessor
object from a set of required metadata: rank, dtype, shape, and then add thelocal_accessor
as a kernel argument. To enable the changes, the DPCTLKernelArgType enum was expanded and necessary changes made to the queue interface.The changes are still a work in progress and need test cases. The PR is opened to get early feedback and evaluate the feasibility of the approach.