From 1adc67bc9ec036281927ccd1435dde6eb4a2ba69 Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Tue, 27 Feb 2024 14:05:13 -0600 Subject: [PATCH] re-enable updated analyze_workload tests - now running in parallel Signed-off-by: Karl W Schulz --- .github/workflows/mi100.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/mi100.yml b/.github/workflows/mi100.yml index a65fd6d6ef..81f75dcafd 100644 --- a/.github/workflows/mi100.yml +++ b/.github/workflows/mi100.yml @@ -51,19 +51,18 @@ jobs: mkdir build cd build ml cmake - cmake -DENABLE_COVERAGE=ON .. + cmake -DENABLE_COVERAGE=ON -DPYTEST_NUMPROCS=24 .. - name: Create HIP binary (vcopy) run: hipcc -o tests/vcopy ./sample/vcopy.cpp - name: Run [profile] mode run: | cd build srun -N 1 -J omniperf -p ci -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile -## - name: Summarize tests -## if: always() -## uses: pmeier/pytest-results-action@main -## with: -## path: tests/test-results.xml -## summary: true + - name: Run [analyze workloads] mode + if: '!cancelled()' + run: | + cd build + srun -N 1 -J omniperf -p ci -t 00:10:00 ctest --verbose -R test_analyze_workloads - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action/linux@v2 if: always() @@ -75,11 +74,7 @@ jobs: ## cd build ## srun -N 1 -J omniperf -p ci -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile # srun -N 1 -J omniperf -p ci -t 00:20:00 ctest --verbose -R test_profile_kernel_execution -## - name: Run [analyze] mode -## if: '!cancelled()' -## run: | -## cd build -## srun -N 1 -J omniperf -p ci -t 00:55:00 ctest --verbose -R test_analyze_commands + ## ## - name: Pytest coverage comment ## ## if: '!cancelled()' ## ## uses: MishaKav/pytest-coverage-comment@v1.1.48