dpctl.memory.MemoryUSMDevice.get_usm_type_enum¶
- MemoryUSMDevice.get_usm_type_enum(syclobj=None)¶
get_usm_type(syclobj=None)
Returns the type of USM allocation using
dpctl.SyclContext
carried bysyclobj
keyword argument. Value ofNone
is understood to query againstself.sycl_context
- the context used to create the allocation.