-
Notifications
You must be signed in to change notification settings - Fork 29
dpt.pow() with dtype=c16
and scalar on gpu/cpu returns different result
#1378
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
Comments
@vlad-perevezentsev
For the Numpy dtype case:
It's hard to know if it was a result of #1411 or the change in compiler version. Either way, if you can confirm that these issues are resolved for you as well, we can consider this issue resolved. |
@vlad-perevezentsev I think this issue is ready to be resolved |
Closing as no longer relevant, the above cases all work as expected. |
The below example works differently depending on the device:
with dtype = 'c8' returns the same result for different devices
I also noticed that
dpt.pow
works correctly when the input array size is between 2 and 7 for dtypec16
.Besides this there is an interesting case when
x2
(scalar) is numpy dtypeThen
dpt.pow
with input array with data typec8
returnsnans
tooThe text was updated successfully, but these errors were encountered: