Open
Description
urUSMPoolCreate
does not have a method of specifying if a memory pool should be for host, device, or shared memory. Adaptors must return ur_usm_pool_handle_t
objects that are capable of working for all memory types and all devices. This forces some extra overhead that would not be needed if adapters knew which type of memory pool was being requested ahead of time.
This could be implemented by either expanding ur_usm_pool_desc_t
, or adding a new struct that can be chained to ur_usm_pool_desc_t
.