[CI] Miscellaneous Testing Updates (#305)

* Add rocprofiler-sdk-utilities.cmake

- contains cmake function rocprofiler_sdk_get_gfx_architectures

* Update perfetto_reader.py

- fix hash collision

* Update project names in tests folders

- rocprofiler-tests -> rocprofiler-sdk-tests

* Fix incorrect allocation-error handling

* [CI] Disable openmp tests for navi2, navi3, and navi4

* Suppress leaks by omptarget and llvm

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Este commit está contenido en:
Madsen, Jonathan
2025-03-22 18:51:42 -05:00
cometido por GitHub
padre b01465303b
commit 2d072f9217
Se han modificado 69 ficheros con 163 adiciones y 81 borrados
+5 -2
Ver fichero
@@ -99,9 +99,12 @@ get_output_stream(const output_config& cfg, std::string_view fname, std::string_
return {&std::clog, [](auto*&) {}};
auto output_file = get_output_filename(cfg, fname, ext);
auto* _ofs = new std::ofstream{output_file};
auto* _ofs = new(std::nothrow) std::ofstream{output_file};
LOG_IF(FATAL, !_ofs) << fmt::format("Failed to allocate ofstream for output file '{}'",
output_file);
LOG_IF(FATAL, _ofs && !*_ofs) << fmt::format("Failed to open '{}' for output", output_file);
LOG_IF(FATAL, !_ofs && !*_ofs) << fmt::format("Failed to open {} for output", output_file);
ROCP_ERROR << "Opened result file: " << output_file;
return {_ofs, [](std::ostream*& v) {
+1 -1
Ver fichero
@@ -1,7 +1,7 @@
#
#
#
project(rocprofiler-tests-buffering LANGUAGES C CXX)
project(rocprofiler-sdk-tests-buffering LANGUAGES C CXX)
include(GoogleTest)
+1 -1
Ver fichero
@@ -1,7 +1,7 @@
#
# Tests for the common library
#
project(rocprofiler-tests-common LANGUAGES C CXX)
project(rocprofiler-sdk-tests-common LANGUAGES C CXX)
include(GoogleTest)