dpctl.SyclDevice.addressof_ref¶
- SyclDevice.addressof_ref()¶
Returns the address of the
DPCTLSyclDeviceRef
pointer as asize_t
.- Example:
>>> import dpctl >>> dev = dpctl.select_cpu_device() >>> hex(dev.addressof_ref()) '0x55b18ec649d0'
- Returns:
The address of the
DPCTLSyclDeviceRef
object used to create thisdpctl.SyclDevice
cast to asize_t
.- Return type: