In this sample you will find a way to get basic information about Unified Shared Memory allocation.
Each USM pointer can be queried about:
- allocation type -
CL_MEM_ALLOC_TYPE_INTEL; - base pointer -
CL_MEM_ALLOC_BASE_PTR_INTEL; - size -
CL_MEM_ALLOC_SIZE_INTEL;
usm_mem_info host
usm_mem_info device
usm_mem_info shared