Minor updates for transpose, timemory submodule, roctracer, and omnitrace exe (#4)

* transpose usage message

* timemory submodule update

* roctracer updates

- Changes to verbosity of roctracer::shutdown
- protect_flush_activity prevents deadlock when error in callback

* Removed linking to timemory-cxx in omnitrace

- omnitrace exe does not link to `timemory-cxx` target
This commit is contained in:
Jonathan R. Madsen
2022-05-24 18:35:33 -05:00
committato da GitHub
parent f26b3b81d6
commit 5b2c27cccd
7 ha cambiato i file con 76 aggiunte e 12 eliminazioni
+12
Vedi File
@@ -187,6 +187,18 @@ main(int argc, char** argv)
int nthreads = 2;
int nitr = 5000;
size_t nsync = 10;
for(int i = 1; i < argc; ++i)
{
auto _arg = std::string{ argv[i] };
if(_arg == "?" || _arg == "-h" || _arg == "--help")
{
fprintf(stderr,
"usage: transpose [NUM_THREADS (%i)] [NUM_ITERATION (%i)] "
"[SYNC_EVERY_N_ITERATIONS (%zu)]\n",
nthreads, nitr, nsync);
exit(EXIT_SUCCESS);
}
}
if(argc > 1) nthreads = atoi(argv[1]);
if(argc > 2) nitr = atoi(argv[2]);
if(argc > 3) nsync = atoll(argv[3]);