Skip to content

Update csv headers, and SystemExit codes #139

Update csv headers, and SystemExit codes

Update csv headers, and SystemExit codes #139

Workflow file for this run

name: mi100
on:
push:
branches:
- '2.x'
# Allows manual execution
workflow_dispatch:
permissions:
contents: read
checks: write
pull-requests: write
jobs:
profile:
strategy:
matrix:
version: [5.5.1, 5.7.1]
runs-on: [mi100, rhel9]
fail-fast: false

Check failure on line 22 in .github/workflows/mi100.yml

View workflow run for this annotation

GitHub Actions / mi100

Invalid workflow file

The workflow is not valid. .github/workflows/mi100.yml (Line: 22, Col: 5): Unexpected value 'fail-fast'
env:
PYTHONPATH: /home1/ciuser/omniperf_deps
# PYTHONPATH: ${{ github.workspace }}/python-libs
name: ROCm v${{ matrix.version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Python Path
run: echo ${PYTHONPATH}
- name: Install Python collateral (build and test)
run: |
pip3 install -t ${PYTHONPATH} -r requirements.txt
pip3 install -t ${PYTHONPATH} -r requirements-test.txt
- name: Load ROCm ${{ matrix.version}}
run: |
module load cmake
module load rocm/${{ matrix.version }}
echo $PATH > $GITHUB_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
echo "ROCM_PATH=$ROCM_PATH" >> "$GITHUB_ENV"
- name: Check Environment
run: |
echo "PATH=$PATH"
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
echo "ROCM_PATH=$ROCM_PATH"
- name: Configure
run: |
mkdir build
cd build
ml cmake
cmake -DENABLE_COVERAGE=ON ..
- 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
# 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
## ## with:
## ## pytest-xml-coverage-path: 'tests/coverage.xml'
## ## junitxml-path: 'tests/test-results.xml'
## ## coverage-path-prefix: src/