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개의 파일을 삭제
+2 -2
파일 보기
@@ -435,8 +435,8 @@ module_function::is_routine_constrained() const
"std::(basic_|)(ifstream|ios|istream|ostream|stream))",
regex_opts);
static std::regex leading(
"^(_|\\.|frame_dummy|transaction clone|virtual "
"thunk|non-virtual thunk|\\(|targ|kmp_threadprivate_|Kokkos::Profiling::)",
"^(_|\\.|frame_dummy|transaction clone|virtual thunk|non-virtual thunk|"
"\\(|targ|kmp_threadprivate_|Kokkos::Profiling::|dlopen|dlsym)",
regex_opts);
static std::regex trailing(
"(_|\\.part\\.[0-9]+|\\.constprop\\.[0-9]+|\\.|\\.[0-9]+)$", regex_opts);