From 482490f48f4e6830c4e150175f388bc8b6ff24c2 Mon Sep 17 00:00:00 2001 From: akolliasAMD <99202231+akolliasAMD@users.noreply.github.com> Date: Fri, 13 Jun 2025 13:28:13 -0600 Subject: [PATCH] added init example and all_reduce example on the files (#150) * added init example and all_reduce example on the files * typo fix on folder name [ROCm/rocshmem commit: 08a6a733d8d2cd2fd6ea92f28b2ac67b482e7389] --- projects/rocshmem/scripts/build_configs/codecov | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/rocshmem/scripts/build_configs/codecov b/projects/rocshmem/scripts/build_configs/codecov index 965b0c7fb9..4ab02c0e48 100755 --- a/projects/rocshmem/scripts/build_configs/codecov +++ b/projects/rocshmem/scripts/build_configs/codecov @@ -29,6 +29,12 @@ LLVM_PROFILE_FILE="$PROFRAW_DIR/ro_net-unit-%p.profraw" ../scripts/unit_tests/dr LLVM_PROFILE_FILE="$PROFRAW_DIR/ro_ipc-unit-%p.profraw" ../scripts/unit_tests/driver.sh ./ro_ipc/tests/unit_tests/rocshmem_unit_tests all +# Examples coverage +LLVM_PROFILE_FILE="$PROFRAW_DIR/init_test-%m.profraw" mpirun -np 4 ./ipc/examples/rocshmem_init_attr_test +LLVM_PROFILE_FILE="$PROFRAW_DIR/allreduce_test-%m.profraw" mpirun -np 4 ./ipc/examples/rocshmem_allreduce_test + + + # Functional Tests LLVM_PROFILE_FILE="$PROFRAW_DIR/ipc-functional-%p.profraw" ../scripts/functional_tests/driver.sh ./ipc/tests/functional_tests/rocshmem_example_driver all ./test_output/ LLVM_PROFILE_FILE="$PROFRAW_DIR/ro_net-functional-%p.profraw" ../scripts/functional_tests/driver.sh ./ro_net/tests/functional_tests/rocshmem_example_driver all ./test_output/ @@ -57,5 +63,5 @@ LLVM_PROFILE_FILE="$PROFRAW_DIR/ro_ipc-functional-%p.profraw" ../scripts/functio --ignore-filename-regex=".*test.*" \ -format=html \ -output-dir=coverage-report -cd coverage-report && python3 -m http.server +cd coverage-report && python3 -m http.server