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

Exported dpctl.tensor.Device as array-API device class #708

Merged
merged 3 commits into from
Dec 6, 2021

Conversation

oleksandr-pavlyk
Copy link
Collaborator

@oleksandr-pavlyk oleksandr-pavlyk commented Dec 3, 2021

Exported dpctl.tensor.Device as array-API device class

This is returned by X.device, as before.

Addressed dpt.asnumpy.__name__ not being 'anumpy',
and dpt.to_numpy.__name__ not being `to_numpy'.

Added normalize_queue_device to _device.py as a utility

This is returned by X.device, as before.

Addressed `dpt.asnumpy.__name__` not being 'anumpy',
and `dpt.to_numpy.__name__` not being `to_numpy'.

Added `normalize_queue_device` to `_device.py` as a utility
@oleksandr-pavlyk oleksandr-pavlyk changed the title Exported dpctl.tensor.Device as oneAPI device class Exported dpctl.tensor.Device as array-API device class Dec 3, 2021
@github-actions
Copy link

github-actions bot commented Dec 3, 2021

@coveralls
Copy link
Collaborator

coveralls commented Dec 3, 2021

Coverage Status

Coverage increased (+0.1%) to 81.32% when pulling 8374c9f on tensor-reshuffling into 431bed8 on master.

@oleksandr-pavlyk oleksandr-pavlyk merged commit 439c2f4 into master Dec 6, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the tensor-reshuffling branch December 6, 2021 12:47
@github-actions
Copy link

github-actions bot commented Dec 6, 2021

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

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 this pull request may close these issues.

3 participants