File tree Expand file tree Collapse file tree 2 files changed +47
-6
lines changed
GPU/GPUTracking/Standalone/cmake Expand file tree Collapse file tree 2 files changed +47
-6
lines changed Original file line number Diff line number Diff line change 1+ name : Standalone Benchmark
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ push :
7+ branches :
8+ - ' **'
9+
10+ jobs :
11+ standalone-benchmark :
12+ runs-on : cern-nextgen-h100
13+ container : registry.cern.ch/docker.io/oliverrietmann/o2-standalone:latest
14+ steps :
15+ - name : Checkout Repository
16+ uses : actions/checkout@v4
17+ - name : Build and Run
18+ run : |
19+ source /etc/profile.d/modules.sh
20+ module load O2/daily-20250625-0000-1 boost/v1.83.0-alice2-43 CMake/v3.31.6-4 Clang/v18.1.8-21 ninja/fortran-v1.11.1.g9-12 ROOT/v6-32-06-alice8-4
21+
22+ curl -o /root/events.tar.xz https://cernbox.cern.ch/remote.php/dav/public-files/cuQAwSojyDrl6FR/events.tar.xz
23+ tar -xf /root/events.tar.xz -C ${STANDALONE_DIR}
24+ rm /root/events.tar.xz
25+
26+ cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=${STANDALONE_DIR} ${GITHUB_WORKSPACE}/GPU/GPUTracking/Standalone/
27+ cd $BUILD_DIR
28+ make install -j8
29+ cd ${STANDALONE_DIR}
30+ ${STANDALONE_DIR}/ca -e o2-pbpb-100 -g --gpuType CUDA --gpuDevice 0 --debug 1 > ${ARTIFACT_FILE}
31+ cat ${ARTIFACT_FILE}
32+ env :
33+ MODULEPATH : /cvmfs/alice.cern.ch/etc/toolchain/modulefiles/el9-x86_64:/cvmfs/alice.cern.ch/el9-x86_64/Modules/modulefiles
34+ STANDALONE_DIR : /root/standalone
35+ BUILD_DIR : /root/standalone/build
36+ ARTIFACT_FILE : /root/standalone-benchmark-artifact.txt
37+ - name : Upload Artifact
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : standalone-benchmark-artifact
41+ path : /root/standalone-benchmark-artifact.txt
Original file line number Diff line number Diff line change 1212# This is the configuration file for the standalone build
1313# Its options do not affect the O2 build !!!!
1414
15- set (ENABLE_CUDA AUTO)
16- set (ENABLE_HIP AUTO)
17- set (ENABLE_OPENCL AUTO)
15+ set (ENABLE_CUDA AUTO CACHE STRING "ENABLE_CUDA" )
16+ set (ENABLE_HIP AUTO CACHE STRING "ENABLE_HIP" )
17+ set (ENABLE_OPENCL AUTO CACHE STRING "ENABLE_OPENCL" )
1818set (GPUCA_CONFIG_VC 1)
1919set (GPUCA_CONFIG_FMT 1)
2020set (GPUCA_CONFIG_ROOT 1)
2121set (GPUCA_CONFIG_ONNX 0)
22- set (GPUCA_BUILD_EVENT_DISPLAY 1)
22+ set (GPUCA_BUILD_EVENT_DISPLAY 1 CACHE BOOL "GPUCA_BUILD_EVENT_DISPLAY" )
2323set (GPUCA_BUILD_EVENT_DISPLAY_FREETYPE 1)
2424set (GPUCA_BUILD_EVENT_DISPLAY_VULKAN 1)
2525set (GPUCA_BUILD_EVENT_DISPLAY_WAYLAND 1)
@@ -31,8 +31,8 @@ set(GPUCA_BUILD_DEBUG_SANITIZE 0)
3131set (GPUCA_DETERMINISTIC_MODE 0) # OFF / NO_FAST_MATH / OPTO2 / GPU / WHOLEO2
3232#set(GPUCA_CUDA_GCCBIN c++-14)
3333#set(GPUCA_OPENCL_CLANGBIN clang-20)
34- set (HIP_AMDGPUTARGET "default" ) # "gfx906;gfx908;gfx90a"
35- set (CUDA_COMPUTETARGET "default" ) # 86 89
34+ set (HIP_AMDGPUTARGET "default" CACHE STRING "HIP_AMDGPUTARGET" ) # "gfx906;gfx908;gfx90a"
35+ set (CUDA_COMPUTETARGET "default" CACHE STRING "CUDA_COMPUTETARGET" ) # 86 89
3636#set(GPUCA_CUDA_COMPILE_MODE perkernel) # onefile / perkernel / rtc
3737#set(GPUCA_HIP_COMPILE_MODE perkernel)
3838#set(GPUCA_RTC_NO_COMPILED_KERNELS 1)
You can’t perform that action at this time.
0 commit comments