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:
Felix Kuehling
2016-03-09 14:29:37 -05:00
rodzic 1c1bc32477
commit 0ed29f5191
4 zmienionych plików z 27 dodań i 4 usunięć
+1
Wyświetl plik
@@ -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