-
Notifications
You must be signed in to change notification settings - Fork 30
Native vector width device descriptors #1075
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
Native vector width device descriptors #1075
Conversation
API with doxygen strings, and tests were added.
Also replaced one cpdef with intended cdef
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.
The changes looks good. Thanks!
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1075/index.html |
Array API standard conformance tests for dpctl=0.14.1dev2=py310h41425db_21 ran successfully. |
@mingjie-intel I had added checks for new device descriptor properties but did not register them with the fixture. |
Array API standard conformance tests for dpctl=0.14.1dev2=py310h41425db_22 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.1dev2=py310h41425db_22 ran successfully. |
Exposed
DPCTLDevice_GetNativeVectorWidthChar
and friends inDPCTLSyclInterface
library.Added
dpctl.SyclDevice
properties to query native vector widths for different types per SYCL spec. Supported types align withpreferred_vector_width_*
properties and includechar
,short
,int
,long
,float
,double
, andhalf
.