Skip to content

Commit 13889f1

Browse files
Produce perfetto output
1 parent f6e99ef commit 13889f1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/standalone-benchmark.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
- name: amd-mi300x
2828
runner: cern-nextgen-mi300x
2929
cmake_args: -DENABLE_CUDA=0 -DENABLE_HIP=1 -DHIP_AMDGPUTARGET=gfx942
30-
profiler: rocprofv2 --basenames --output-directory /root --output-file-name amd-mi300x
30+
profiler: rocprofv2 --basenames --kernel-trace --output-directory /root --output-file-name amd-mi300x --plugin perfetto
3131
- name: amd-w7900
3232
runner: cern-nextgen-w7900
3333
cmake_args: -DENABLE_CUDA=0 -DENABLE_HIP=1 -DHIP_AMDGPUTARGET=gfx1100
34-
profiler: rocprofv2 --basenames --output-directory /root --output-file-name amd-w7900
34+
profiler: rocprofv2 --basenames --kernel-trace --output-directory /root --output-file-name amd-w7900 --plugin perfetto
3535
env:
3636
WORK_DIR: /cvmfs/alice.cern.ch
3737
ALIBUILD_ARCH_PREFIX: el9-x86_64/Packages
@@ -91,7 +91,8 @@ jobs:
9191
source /etc/profile.d/modules.sh
9292
module load ninja/fortran-v1.11.1.g9-15 Vc/1.4.5-10 boost/v1.83.0-alice2-57 fmt/11.1.2-14 CMake/v3.31.6-10 ms_gsl/4.2.1-3 Clang/v20.1.7-9 TBB/v2022.3.0-3 ROOT/v6-36-04-alice9-15 ONNXRuntime/v1.22.0-71 GLFW/3.3.2-25
9393
cd ${STANDALONE_DIR}
94-
${{ matrix.profiler }} ${STANDALONE_DIR}/ca -e 50kHz -g --memSize 15000000000 --sync --runs 12 --debug 1 --PROCtimingCSV ${BENCHMARK_CSV}
94+
${STANDALONE_DIR}/ca -e 50kHz -g --memSize 15000000000 --sync --debug 1 --runs 12 --runsInit 2 --PROCresetTimers 1 --PROCtimingCSV ${BENCHMARK_CSV}
95+
${{ matrix.profiler }} ${STANDALONE_DIR}/ca -e 50kHz -g --memSize 15000000000 --sync --runs 10 --runsInit 0 --PROCresetTimers 1
9596
rm -rf ${STANDALONE_DIR}/events/50kHz ${STANDALONE_DIR}/build
9697
9798
- name: Display table on GitHub web
@@ -107,5 +108,5 @@ jobs:
107108
with:
108109
name: ${{ matrix.name }}-artifact
109110
path: |
110-
/root/${{ matrix.name }}.csv
111-
/root/results_${{ matrix.name }}.csv
111+
/root/*.csv
112+
/root/*.pftrace

0 commit comments

Comments
 (0)