IntelPython / dpctl

Python SYCL bindings and SYCL-based Python Array API library
https://intelpython.github.io/dpctl/
Apache License 2.0
97 stars 29 forks source link

Handle possible NULL return from DPCTLDevice_GetMaxWorkGroupSize1d, 2d #1690

Closed oleksandr-pavlyk closed 1 month ago

oleksandr-pavlyk commented 1 month ago

Python code now checks that the return value of DPCTLDevice_GetMaxWorkGroupSize1d and DPCTLDevice_GetMaxWorkGroupSize2d is not NULL before dereferencing.

github-actions[bot] commented 1 month ago

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. :crossed_fingers:

coveralls commented 1 month ago

Coverage Status

coverage: 87.943% (-0.03%) from 87.971% when pulling 3952ef7e9e54f010295f9c40e466f257f144f2e0 on handle-possible-errors into 183bfd77d6537d71146c23262e47dc84ae5ae336 on master.

github-actions[bot] commented 1 month ago

Array API standard conformance tests for dpctl=0.18.0dev0=py310h15de555_8 ran successfully. Passed: 889 Failed: 16 Skipped: 91