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

Functions zeros() and empty() do not raise RuntimeError for float16 dtype. #1038

Closed
npolina4 opened this issue Jan 20, 2023 · 0 comments · Fixed by #1042
Closed

Functions zeros() and empty() do not raise RuntimeError for float16 dtype. #1038

npolina4 opened this issue Jan 20, 2023 · 0 comments · Fixed by #1042

Comments

@npolina4
Copy link
Collaborator

Functions dpclt.tensor.zeros() and dpclt.tensor.empty() do not raise RuntimeError for float16 and float64 dtypes if device does not support these dtypes.

oleksandr-pavlyk added a commit that referenced this issue Jan 22, 2023
Both functions will now raise ValueError is data type
not natively supported by device is requested.
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

Successfully merging a pull request may close this issue.

1 participant