property
Return dpctl.tensor.Device object representing residence of
the array data.
The Device object represents Array API notion of the device, and
contains dpctl.SyclQueue associated with this array. Hence,
.device property provides information distinct from .sycl_device
property.
Examples
>>> import dpnp as np
>>> x = np.ones(10)
>>> x.device
Device(level_zero:gpu:0)