dpctl.memory.MemoryUSMShared.get_usm_type

MemoryUSMShared.get_usm_type(syclobj=None)

Returns the type of USM allocation using dpctl.SyclContext carried by syclobj keyword argument. Value of None is understood to query against self.sycl_context - the context used to create the allocation.