rocr: Don't assert in hsa_shut_down when no agents (#1115)
* rocr: Don't assert in hsa_shut_down when no agents Instead, print error message and return an error. Prior to this patch, the assertion would occur when hsa_shut_down() is called more than once. * rocr: Reorder Unload ASAN clean-up on shut down
Este cometimento está contido em:
cometido por
GitHub
ascendente
402aa7e253
cometimento
fb8ab442b6
@@ -2256,12 +2256,12 @@ void Runtime::Unload() {
|
||||
mapped_handle_map_.clear();
|
||||
memory_handle_map_.clear();
|
||||
|
||||
DestroyAgents();
|
||||
|
||||
CloseTools();
|
||||
|
||||
AMD::Unload();
|
||||
|
||||
DestroyAgents();
|
||||
|
||||
DestroyDrivers();
|
||||
|
||||
thunkLoader_->DestroyThunkInstance();
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador