Refactor: Consolidate calls to hsaKmtAllocMemory
Route all device-visible system memory allocations through system_allocator. Change-Id: I5e90a1bf491e432678a6d8ab1f9f3770734cbda1
Šī revīzija ir iekļauta:
1 vecāks
54f1311e01
revīzija
74f5aca93d
17 files changed
+89
-153
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user