SWDEV-377804 - Initial commit to support hipGraphInstantiateFlagAutoFreeOnLaunch

Change-Id: I7a35becb6c98a6ff70264e141317d98be7457a37


[ROCm/clr commit: f9e27bcdd4]
Este cometimento está contido em:
Jaydeep Patel criou e Jaydeepkumar Patel cometeu 2023-02-01 11:51:39 -05:00
1 ascendente c77979a365
cometimento c6da0aa014
5 ficheiros modificados
+27 -8

Não existem ficheiros que correspondam à sua pesquisa

+6
Ver ficheiro
@@ -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);
}
}
}