Skip to content

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

Merged
oleksandr-pavlyk merged 3 commits intomasterfrom
tensor-reshuffling
Dec 6, 2021
Merged

Exported dpctl.tensor.Device as array-API device class#708
oleksandr-pavlyk merged 3 commits intomasterfrom
tensor-reshuffling

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

@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
Copy Markdown

github-actions Bot commented Dec 3, 2021

@coveralls
Copy link
Copy Markdown
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
Copy Markdown

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