diff --git a/.github/workflows/mi-rhel9.yml b/.github/workflows/mi-rhel9.yml index 4e885a5163..cd66f4fbac 100644 --- a/.github/workflows/mi-rhel9.yml +++ b/.github/workflows/mi-rhel9.yml @@ -23,13 +23,17 @@ jobs: matrix: version: [5.7.1, 6.0.2] hardware: [mi100, mi200] + profiler: [default, rocprofv2] + exclude: + - profiler: rocprofv2 + hardware: mi100 fail-fast: false runs-on: [mi100, rhel9] env: PYTHONPATH: /home1/ciuser/omniperf_deps CI_VISIBLE_DEVICES: 1 - name: ROCm v${{ matrix.version }} / ${{ matrix.hardware }} + name: ROCm v${{ matrix.version }} / ${{ matrix.hardware }} / ${{ matrix.profiler }} steps: - name: Checkout uses: actions/checkout@v4 @@ -47,6 +51,11 @@ jobs: echo "Unsupported hardware" exit 1 fi + - name: Setup profiling mode + run: | + if [ ${{ matrix.profiler }} == "rocprofv2" ];then + echo "ROCPROF=rocprofv2" >> $GITHUB_ENV + fi - name: Install Python collateral (build and test) run: | pip3 install -t ${PYTHONPATH} -r requirements.txt @@ -66,7 +75,7 @@ jobs: echo "CI_QUEUE=$CI_QUEUE" echo "CI_ARCH=$CI_ARCH" echo "CI_VISIBLE_DEVICES=$CI_VISIBLE_DEVICES" - ulimit -u + echo "ROCPROF=$ROCPROF" - name: Configure run: | mkdir build