Skip to content
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

Copying from device with float64 support to device without float64 support failed #1046

Open
npolina4 opened this issue Jan 26, 2023 · 0 comments

Comments

@npolina4
Copy link
Collaborator

import dpctl.tensor as dpt

#Default type is float64.
Xcpu = dpt.ones(4, device="cpu")

#GPU without float64 support. Should have been cast to dtype float32, but failed.
dpt.asarray(Xcpu, device="gpu")
@oleksandr-pavlyk oleksandr-pavlyk changed the title Copping from device with float64 support to device without float64 support failed Copying from device with float64 support to device without float64 support failed Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant