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