[rocprofiler-compute] Add exception handling for native tool path search (#2159)

* Add exception handling for native tool path search

* Fix formatting in roofline benchmark code

* Fix detection of .so files

* include hip code and native tool code in standalone binary

* add fallback path for ROCM_PATH
This commit is contained in:
vedithal-amd
2025-12-04 10:29:49 -05:00
committed by GitHub
parent 4ff89b6fd1
commit d8a8a3ef30
6 changed files with 102 additions and 64 deletions
@@ -26,6 +26,8 @@ CMD ["/bin/bash", "-c", "\
--enable-plugin=no-qt \
--include-data-files=VERSION*=./ \
--include-data-files=src/lib/rocprofiler_compute_tool.cpp=lib/rocprofiler_compute_tool.cpp \
--include-data-files=src/lib/helper.cpp=lib/helper.cpp \
--include-data-files=src/lib/helper.hpp=lib/helper.hpp \
--include-package=dash_svg --include-package-data=dash_svg \
--include-package=dash_bootstrap_components \
--include-package-data=dash_bootstrap_components \
@@ -38,6 +40,7 @@ CMD ["/bin/bash", "-c", "\
--include-package=rocprof_compute_tui --include-package-data=rocprof_compute_tui \
--include-package=rocprof_compute_soc --include-package-data=rocprof_compute_soc \
--include-package=utils --include-package-data=utils \
--include-package=hip --include-package-data=hip \
src/rocprof-compute \
&& patchelf --remove-rpath rocprof-compute.bin \
"]