Report SVM heap in topology
The Runtime requested this information so they can tell easily whether a pointer is part of HSA shared address space or not. Change-Id: If2041ed34031636677d692bc2dc6625634027ed4
This commit is contained in:
@@ -261,6 +261,7 @@ typedef enum _HSA_HEAPTYPE
|
||||
HSA_HEAPTYPE_GPU_GDS = 3, // GPU internal memory (GDS)
|
||||
HSA_HEAPTYPE_GPU_LDS = 4, // GPU internal memory (LDS)
|
||||
HSA_HEAPTYPE_GPU_SCRATCH = 5, // GPU special memory (scratch)
|
||||
HSA_HEAPTYPE_DEVICE_SVM = 6, // sys-memory mapped by device page tables
|
||||
|
||||
HSA_HEAPTYPE_NUMHEAPTYPES,
|
||||
HSA_HEAPTYPE_SIZE = 0xFFFFFFFF
|
||||
|
||||
Reference in New Issue
Block a user