Refactor: Consolidate calls to hsaKmtAllocMemory

Route all device-visible system memory allocations through system_allocator.

Change-Id: I5e90a1bf491e432678a6d8ab1f9f3770734cbda1
This commit is contained in:
Jay Cornwall
2016-08-22 20:19:21 -05:00
rodzic 54f1311e01
commit 74f5aca93d
17 zmienionych plików z 89 dodań i 153 usunięć
@@ -43,6 +43,6 @@
#include "core/common/shared.h"
namespace core {
std::function<void*(size_t, size_t)> BaseShared::allocate_=nullptr;
std::function<void(void*)> BaseShared::free_=nullptr;
std::function<void*(size_t, size_t, uint32_t)> BaseShared::allocate_ = nullptr;
std::function<void(void*)> BaseShared::free_ = nullptr;
}