Code Coverage (#82)

code coverage:  generate code coverage reports

* Add instrumentation flags to rocshmem target when adding -DBUILD_CODE_COVERAGE cmake flag
* Add helper script to build all subprojects and generate code coverage reports
* Update README with code coverage instructions

[ROCm/rocshmem commit: 474112d03c]
This commit is contained in:
Jobbins
2025-05-16 09:09:17 -06:00
committed by GitHub
parent 6a7644e467
commit 22ea3f0c8b
7 changed files with 90 additions and 8 deletions
+1
View File
@@ -62,6 +62,7 @@ option(BUILD_UNIT_TESTS "Build the unit tests" ON)
option(BUILD_TESTS_ONLY "Build only tests. Used to link agains rocSHMEM in a ROCm Release" OFF)
option(BUILD_LOCAL_GPU_TARGET_ONLY "Build only for GPUs detected on this machine" OFF)
option(BUILD_CODE_COVERAGE "Build with code coverage flags (gcc only)" OFF)
configure_file(cmake/rocshmem_config.h.in rocshmem_config.h)