SWDEV-377804 - Initial commit to support hipGraphInstantiateFlagAutoFreeOnLaunch

Change-Id: I7a35becb6c98a6ff70264e141317d98be7457a37


[ROCm/clr commit: f9e27bcdd4]
Tá an tiomantas seo le fáil i:
Jaydeep Patel údaraithe agus Jaydeepkumar Patel tiomanta 2023-02-01 11:51:39 -05:00
1 tuismitheoir c77979a365
tiomantas c6da0aa014
5 comhad athraithe
+27 -8

Níor tháinig aon chomhaid le do chuardach

+6
Féach ar an gComhad
@@ -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);
}
}
}