-
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
Add support of CV-qualifiers in is_complex<T>
helper
#1900
Conversation
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_239 ran successfully. |
Changes unknown |
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_241 ran successfully. |
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_242 ran successfully. |
Seems the issue in internal CI doesn't relate to that PR. |
I understand the need to support CV qualified types, but I am not sure how to feel about How does supporting |
Only support of CV-qualifiers is required, I will remove |
sycl::half
type in is_complex<T>
implementationis_complex<T>
helper
9def7d9
to
febc5dc
Compare
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_243 ran successfully. |
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_244 ran successfully. |
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_244 ran successfully. |
Do you mind adding that in this PR @antonwolfy ? |
Sure, included. |
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.
LGTM!
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 @antonwolfy
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_245 ran successfully. |
Current implementation of
is_complex<T>
is limited in dpctl tensor headers. It doesn't consider CV-qualifiers for a type.While STL wrappers of DPC++ has more complete implementation.
The PR proposes to align with the STL wrappers and to add support of CV-qualifiers in
is_complex<T>
implementation. And also it suggests to addis_complex_v<T>
helper.The PR would help to simplify implementation of
histogramdd
extension in DPNP.