Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 509 Bytes

File metadata and controls

12 lines (10 loc) · 509 Bytes

usm_mem_info

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;

Usage

usm_mem_info host
usm_mem_info device
usm_mem_info shared