exit gotcha + remove DelayedInit state + rocm-smi + cleanup (#110)

* exit gotcha + remove DelayedInit state + cleanup

- exit gotcha which wraps exit, quick_exit, abort
- minor refactor of mpi gotchas
- removed some redundant code in omnitrace_finalized_hidden
- exclude instrumenting functions starting with dlopen and dlsym
- exclude instrumenting exit, quick_exit, and abort functions
- update timemory submodule with support for new gotcha_invoker with (gotcha_data, <function pointer>, args...)

* Improved rocm_smi error handling
Цей коміт міститься в:
Jonathan R. Madsen
2022-07-24 22:09:32 -05:00
зафіксовано GitHub
джерело bcdec188eb
коміт 99da25ea80
15 змінених файлів з 253 додано та 80 видалено
+1
Переглянути файл
@@ -184,6 +184,7 @@ setup_gotchas()
"Configuring gotcha wrapper around fork, MPI_Init, and MPI_Init_thread\n");
mpi_gotcha::configure();
exit_gotcha::configure();
fork_gotcha::configure();
pthread_gotcha::configure();
}