Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support of usm_ndarray constructor with default dtype on Iris XE #1058

Copy link
Copy link
@antonwolfy

Description

@antonwolfy
Issue body actions

Currently dpctl creates usm_ndarray with default dtype="|f8" which cause an issue on gpu device without double type support.

The below example code cause an exception for Iris XE:

> import dpctl.tensor as dpt
> dpt.usm_ndarray((10,))

ValueError                                Traceback (most recent call last)
Cell In[3], line 1
----> 1 dpt.usm_ndarray((10,))

File dpctl/tensor/_usmarray.pyx:264, in dpctl.tensor._usmarray.usm_ndarray.__cinit__()

ValueError: Device Intel(R) Graphics [0x9a49] does not support |f8 natively.
Reactions are currently unavailable

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.