dpctl.memory.MemoryUSMDevice.get_usm_type¶
- MemoryUSMDevice.get_usm_type(syclobj=None)¶
Returns the type of USM allocation using
dpctl.SyclContextcarried bysyclobjkeyword argument. Value ofNoneis understood to query againstself.sycl_context- the context used to create the allocation.