Conversation
Nullptr is also handled, interpreting it as "default_name". Pybind11 caster provides a fixed name 'dpctl4pybind11_kernel'
New checks are complete with docstrings, check for SyclKernel_Make also checks the nullptr for name usage.
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/970/index.html |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_27 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_28 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_29 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_30 ran successfully. |
…le_Copy Also change commented out, or preprocessor disabled code for testing, implementing, or declaring DCPTLKernel_GetMaxSubGroupsSize since it is now supported in 2023 compiler.
63e4e98 to
ea19360
Compare
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_30 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_31 ran successfully. |
|
@ndgrigorian The I removed while refactoring from use of deprecated |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_32 ran successfully. |
…API functions dpctl_capi constructor must initialize DPCTLKernel_GetKernelRef_ and DPCTLKernelBundle_GetKernelBundleRef_ for casters to work correctly.
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_35 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_43 ran successfully. |
ndgrigorian
left a comment
There was a problem hiding this comment.
LGTM, thanks for writing the tests
| import dpctl.tensor as dpt | ||
|
|
||
| q = dpctl.SyclQueue() | ||
|
|
There was a problem hiding this comment.
Some documentation is warranted. I know what the example is doing, but not every user will know or should be expected to know just by reading the code.
diptorupd
left a comment
There was a problem hiding this comment.
LGTM.
I have a general comment about the state of dpctl4pybind11.hpp. The file needs API docs and we should generate the API doc and add it to our documentation page.
|
I am going to push suggested changes, which will dismiss approvals. I am going to wait for @chengjunlu's feedback and merge this tomorrow. |
49efb61
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_44 ran successfully. |
|
Array API standard conformance tests for dpctl=0.14.0dev1=py310h8c27c75_45 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_45 ran successfully. |
This PR add Cython generated c-api for
dpctl.program.SyclKernelanddpctl.program.SyclProgramclasses.dpctl4pybind11 adds type casters to map
dpctl.program.SyclKerneltosycl::kernelanddpctl.program.SyclProgramtosycl::kernel_bundle<sycl::bundle_state::executable>.This PR closes #943.