2
0

SWDEV-472309 - Ensure static maps are destroyed after __hipUnregisterFatBinary

hipDeviceSynchronize called from __hipUnregisterFatBinary
accesses static maps and monitors. This change ensures these ojects
are not destroyed before __hipUnregisterFatBinary  is called.
Additionally it disables the teardown process for static build.

Change-Id: I46b58641d60efcf6637a8e99cdd786ffe9e2c77d
Este cometimento está contido em:
Ioannis Assiouras
2024-07-11 22:50:41 +01:00
ascendente 7298b80112
cometimento 9b33db9b24
4 ficheiros modificados com 7 adições e 5 eliminações
+1 -1
Ver ficheiro
@@ -318,7 +318,7 @@ Command::Command(HostQueue& queue, cl_command_type type, const EventWaitList& ev
}
}
SysmemPool<ComputeCommand> Command::command_pool_;
SysmemPool<ComputeCommand> Command::command_pool_ ROCCLR_INIT_PRIORITY(101);
// ================================================================================================
void Command::operator delete(void* ptr) {