Skip to content

Commit 3b81610

Browse files
committed
Build CI for A100, only use virtual architecture for reldeb, disable device debug
1 parent 152334a commit 3b81610

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/cmake-presets/ci-rocky-cuda.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
{
66
"name": "base",
77
"displayName": "Ubuntu/nvidia-docker default options for GCC",
8-
"inherits": [".cuda-volta", "default"],
8+
"inherits": ["default"],
99
"binaryDir": "${sourceDir}/build",
1010
"generator": "Ninja",
1111
"cacheVariables": {
1212
"BUILD_SHARED_LIBS": {"type": "BOOL", "value": "ON"},
1313
"CELERITAS_BUILD_TESTS": {"type": "BOOL", "value": "ON"},
1414
"CELERITAS_BUILD_DOCS": {"type": "BOOL", "value": "OFF"},
15+
"CELERITAS_USE_CUDA": {"type": "BOOL", "value": "ON"},
1516
"CELERITAS_USE_covfie": {"type": "BOOL", "value": "OFF"},
1617
"CELERITAS_USE_Geant4": {"type": "BOOL", "value": "ON"},
1718
"CELERITAS_USE_HepMC3": {"type": "BOOL", "value": "ON"},
@@ -25,6 +26,7 @@
2526
"CMAKE_CXX_EXTENSIONS": {"type": "BOOL", "value": "OFF"},
2627
"CMAKE_CXX_FLAGS": "-Wall -Wextra -pedantic -Werror -Wno-error=deprecated-declarations",
2728
"CMAKE_CUDA_FLAGS": "-Werror all-warnings",
29+
"CMAKE_CUDA_ARCHITECTURES": {"type": "STRING", "value": "80"},
2830
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install"
2931
}
3032
},
@@ -70,15 +72,16 @@
7072
"cacheVariables": {
7173
"CELERITAS_USE_OpenMP": {"type": "BOOL", "value": "OFF"},
7274
"CELERITAS_DEBUG": {"type": "BOOL", "value": "ON"},
73-
"CELERITAS_DEVICE_DEBUG": {"type": "BOOL", "value": "ON"}
75+
"CELERITAS_DEVICE_DEBUG": {"type": "BOOL", "value": "OFF"}
7476
}
7577
},
7678
{
7779
"name": "reldeb-vecgeom",
7880
"description": "Build with RelWithDebInfo, assertions, and VecGeom",
7981
"inherits": [".reldeb", ".vecgeom", "base"],
8082
"cacheVariables": {
81-
"CELERITAS_DEVICE_DEBUG": {"type": "BOOL", "value": "ON"}
83+
"CELERITAS_DEVICE_DEBUG": {"type": "BOOL", "value": "ON"},
84+
"CMAKE_CUDA_ARCHITECTURES": "80-virtual"
8285
}
8386
},
8487
{

0 commit comments

Comments
 (0)