From 75cc62e22b3e49c0e6cc53a204b99cf2eb32f5c1 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Thu, 14 Nov 2024 11:49:23 +0100 Subject: [PATCH] Set CUDA architecture on GCC 9/CUDA 11 CI pipeline --- .gitlab/includes/gcc9_cuda11_pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/includes/gcc9_cuda11_pipeline.yml b/.gitlab/includes/gcc9_cuda11_pipeline.yml index fd3b1c9b6..533e290a1 100644 --- a/.gitlab/includes/gcc9_cuda11_pipeline.yml +++ b/.gitlab/includes/gcc9_cuda11_pipeline.yml @@ -17,7 +17,7 @@ include: SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} +cuda cuda_arch=${GPU_TARGET} malloc=system cxxstd=$CXXSTD ^boost@1.75.0 ^hwloc@2.0.3 ^cuda@11.2.0 ^fmt@9" CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=$CXXSTD -DPIKA_WITH_CUDA=ON -DPIKA_WITH_MALLOC=system \ - -DPIKA_WITH_EXAMPLES_OPENMP=ON" + -DPIKA_WITH_EXAMPLES_OPENMP=ON -DCMAKE_CUDA_ARCHITECTURES=${GPU_TARGET}" gcc9_cuda11_spack_compiler_image: extends: