-
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
Introduce dpctl/sycl.pxd #981
Conversation
This Cython declaration file contains incomplete redeclarations of SYCL runtime classes, as well as wrap/unwrap casters to convert SyclInterface opaque pointers to these.
cc62faf
to
ad6bd26
Compare
bbe3cf0
to
76c6b2b
Compare
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_50 ran successfully. |
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_56 ran successfully. |
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_57 ran successfully. |
View rendered docs @ https://intelpython.github.io/dpctl/pulls/981/index.html |
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_59 ran successfully. |
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_60 ran successfully. |
4460812
to
715a506
Compare
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_60 ran successfully. |
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_62 ran successfully. |
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_62 ran successfully. |
This PR adds
dpctl/sycl.pxd
to alleviate the need for Cython extension authors to redeclare SYCL RT classes in their code, and to provide routines to cast from SYCLInterface library's opaque pointers to Sycl class pointers and back.Example is added to test and to illustrate the usage of
dpctl.sycl
in Cython.