dpctl.memory.MemoryUSMShared.get_usm_type_enum¶
- MemoryUSMShared.get_usm_type_enum(syclobj=None)¶
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.