Skip to content

Commit 78a875c

Browse files
Add Nvidia L40S to github workflow
1 parent a90edc6 commit 78a875c

1 file changed

Lines changed: 35 additions & 2 deletions

File tree

.github/workflows/standalone-benchmark.yml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
nvidia-h100:
1212
runs-on: cern-nextgen-h100
13-
container: registry.cern.ch/alisw/slc9-gpu-builder:latest # registry.cern.ch/docker.io/oliverrietmann/o2-standalone:latest
13+
container: registry.cern.ch/alisw/slc9-gpu-builder:latest
1414
steps:
1515
- name: Checkout Repository
1616
uses: actions/checkout@v4
@@ -41,9 +41,42 @@ jobs:
4141
name: nvidia-h100-artifact
4242
path: /root/artifact.txt
4343

44+
nvidia-l40s:
45+
runs-on: cern-nextgen-l40s
46+
container: registry.cern.ch/alisw/slc9-gpu-builder:latest
47+
steps:
48+
- name: Checkout Repository
49+
uses: actions/checkout@v4
50+
- name: Build and Run
51+
run: |
52+
source /etc/profile.d/modules.sh
53+
module load O2/daily-20250719-0000-1 boost/v1.83.0-alice2-45 CMake/v3.31.6-4 Clang/v18.1.8-22 ninja/fortran-v1.11.1.g9-12 ROOT/v6-32-06-alice9-3
54+
55+
mkdir -p ${STANDALONE_DIR}
56+
curl -o /root/events.tar.xz https://cernbox.cern.ch/remote.php/dav/public-files/cuQAwSojyDrl6FR/events.tar.xz
57+
tar -xf /root/events.tar.xz -C ${STANDALONE_DIR}
58+
rm /root/events.tar.xz
59+
60+
cmake -B $BUILD_DIR -DENABLE_CUDA=1 -DENABLE_HIP=0 -DENABLE_OPENCL=0 -DGPUCA_BUILD_EVENT_DISPLAY=0 -DCUDA_COMPUTETARGET=89 -DCMAKE_INSTALL_PREFIX=${STANDALONE_DIR} ${GITHUB_WORKSPACE}/GPU/GPUTracking/Standalone/
61+
cd $BUILD_DIR
62+
make install -j8
63+
cd ${STANDALONE_DIR}
64+
${STANDALONE_DIR}/ca -e o2-simple -g --gpuType CUDA --gpuDevice 0 --debug 1 > ${ARTIFACT_FILE}
65+
cat ${ARTIFACT_FILE}
66+
env:
67+
MODULEPATH: /cvmfs/alice.cern.ch/etc/toolchain/modulefiles/el9-x86_64:/cvmfs/alice.cern.ch/el9-x86_64/Modules/modulefiles
68+
STANDALONE_DIR: /root/standalone
69+
BUILD_DIR: /root/standalone/build
70+
ARTIFACT_FILE: /root/artifact.txt
71+
- name: Upload Artifact
72+
uses: actions/upload-artifact@v4
73+
with:
74+
name: nvidia-l40s-artifact
75+
path: /root/artifact.txt
76+
4477
amd-mi300x:
4578
runs-on: cern-nextgen-mi300x
46-
container: registry.cern.ch/alisw/slc9-gpu-builder:latest # registry.cern.ch/alisw/slc9-gpu-builder:latest
79+
container: registry.cern.ch/alisw/slc9-gpu-builder:latest
4780
steps:
4881
- name: Checkout Repository
4982
uses: actions/checkout@v4

0 commit comments

Comments
 (0)