Refactor: Consolidate calls to hsaKmtAllocMemory

Route all device-visible system memory allocations through system_allocator.

Change-Id: I5e90a1bf491e432678a6d8ab1f9f3770734cbda1
此提交包含在:
Jay Cornwall
2016-08-22 20:19:21 -05:00
父節點 54f1311e01
當前提交 74f5aca93d
共有 17 個檔案被更改,包括 89 行新增 和 153 行删除
+2 -2
查看文件
@@ -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;
}