-
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
[MAINT] Use std::size_t
from cstddef
and use dpctl::tensor::ssize_t
where ssize_t
is used
#1950
base: master
Are you sure you want to change the base?
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1950/index.html |
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_358 ran successfully. |
@ndgrigorian Looks like these two instances were missed:
|
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_359 ran successfully. |
I've pushed a change fixing these, good catch! |
@ndgrigorian These changes look good to me. I think it is ready for review and ready to be merged in. One thing to check is whether changes here might conflict with changes in feature/topk branch |
I'll go ahead and check if they do. I will also have to rebase onto master and check for more instances with the accumulator improvement PR merged. |
The coverage workflow failed with 8 ctest failures related to |
The reason for failures is the |
The C compatible type is defined in |
75f1145
to
976ea23
Compare
Uses in |
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_366 ran successfully. |
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_366 ran successfully. |
976ea23
to
5afea4d
Compare
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_367 ran successfully. |
5afea4d
to
fe02ce7
Compare
Unfortunately there are conflicts in It may be best to merge this after topk |
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_370 ran successfully. |
fe02ce7
to
7973eb8
Compare
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_369 ran successfully. |
…t is used Maintains stylistic consistency and removes reliance on compiler interpretation
7973eb8
to
ab85a42
Compare
@oleksandr-pavlyk In the process, I've also noticed that we are using This inconsistency can be resolved in a later PR, but we should probably use |
Array API standard conformance tests for dpctl=0.19.0dev0=py310h93fe807_369 ran successfully. |
This PR changes the reliance of
dpctl
headers onsize_t
being translated by the compiler by instead includingcstddef
and replacingsize_t
withstd::size_t
throughout.Additionally,
using dpctl::tensor::ssize_t
is used whereverssize_t
comes up.