SWDEV-353281 - Change pool type for graphs
Under ROCr physical allocations don't have initial VA and require extra
flag in ROCclr. Add an option to have a mempool of physical allocations.
Change-Id: I4d062fe0dd8113d4eaf6e8b51749ed56d8701d1e
[ROCm/clr commit: f296159f62]
Cette révision appartient à :
révisé par
Julia Jiang
Parent
50ecfb39c9
révision
e46ab0bff5
@@ -57,7 +57,7 @@ bool Device::Create() {
|
||||
}
|
||||
|
||||
// Create graph memory pool
|
||||
graph_mem_pool_ = new MemoryPool(this);
|
||||
graph_mem_pool_ = new MemoryPool(this, nullptr, true);
|
||||
if (graph_mem_pool_ == nullptr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur