Update memory allocation guide in using pool apis

This is to allow allocations in system memory that exceed sizes
reported by a CPU device

Change-Id: I3d10d192aafcefbe4107f69b7c5e30bf7f836619


[ROCm/ROCR-Runtime commit: 3201f68f72]
This commit is contained in:
Ramesh Errabolu
2019-06-05 11:49:44 -05:00
rodzic 2b9e13a56c
commit 61b9d4e8b2
7 zmienionych plików z 98 dodań i 26 usunięć
@@ -175,6 +175,9 @@ class MemoryRegion : public core::MemoryRegion {
size_t max_single_alloc_size_;
// Used to collect total system memory
static size_t max_sysmem_alloc_size_;
HSAuint64 virtual_size_;
mutable KernelMutex access_lock_;