ROCm / omnitrace

Omnitrace: Application Profiling, Tracing, and Analysis
https://rocm.docs.amd.com/projects/omnitrace/en/latest/
MIT License
297 stars 27 forks source link

Enable running setup-env from non-bash shells #319

Closed tbennun closed 9 months ago

tbennun commented 10 months ago

This PR enables calling source setup-env.sh from non-bash shells (tested on zsh) by falling back to $0 for detecting the script's path.