Closed
Description
There is already functionality for converting SyclDevices into dlpack_device Enums (c_dlpack.get_parent_device_ordinal_id) occurring in Cython. dpctl Tensors also already include a __dlpack_device__
, would it be possible to enhance operability with dlpack by including a __dlpack_device__
attribute to SyclDevice, and make a SyclDevice creator arg if passed a dlpack enum?
Thanks
Metadata
Metadata
Assignees
Labels
No labels