SWDEV-377804 - Initial commit to support hipGraphInstantiateFlagAutoFreeOnLaunch
Change-Id: I7a35becb6c98a6ff70264e141317d98be7457a37
[ROCm/clr commit: f9e27bcdd4]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
c77979a365
tiomantas
c6da0aa014
5 comhad athraithe
+27
-8
Níor tháinig aon chomhaid le do chuardach
@@ -397,4 +397,10 @@ void MemoryPool::GetAccess(hip::Device* device, hipMemAccessFlags* flags) {
|
||||
}
|
||||
}
|
||||
|
||||
void MemoryPool::FreeAllMemory(hip::Stream* stream) {
|
||||
while (!busy_heap_.Allocations().empty()) {
|
||||
FreeMemory(busy_heap_.Allocations().begin()->first, stream);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir