Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade clang + CUDA CI pipeline to use CUDA 12 #1366

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions .gitlab/includes/clang14_cuda11_pipeline.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .gitlab/includes/clang14_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright (c) 2023 ETH Zurich
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file BOOST_LICENSE_1_0.rst or copy at http://www.boost.org/LICENSE_1_0.txt)

include:
- local: '.gitlab/includes/common_pipeline.yml'
- local: '.gitlab/includes/common_spack_pipeline.yml'

.variables_clang14_config:
variables:
SPACK_ARCH: linux-ubuntu24.04-neoverse_v2
BASE_COMPILER: gcc@11
COMPILER: [email protected]
CXXSTD: 20
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} malloc=system
cxxstd=$CXXSTD ^[email protected] ^[email protected]"
CMAKE_FLAGS: "-DCMAKE_CXX_CLANG_TIDY=clang-tidy -DPIKA_WITH_CXX_STANDARD=20 -DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON \
-DPIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE=OFF \
-DPIKA_WITH_STACKOVERFLOW_DETECTION=OFF"

clang14_spack_compiler_image:
extends:
- .variables_clang14_config
- .compiler_image_template_gh200

clang14_spack_image:
needs: [clang14_spack_compiler_image]
extends:
- .variables_clang14_config
- .dependencies_image_template_gh200

clang14_build:
needs: [clang14_spack_image]
extends:
- .variables_clang14_config
- .build_template_gh200

.clang14_test_common:
needs: [clang14_build]
extends:
- .variables_clang14_config
- .test_common_daint_gh200
- .test_template

clang14_test_release:
extends: [.clang14_test_common]
image: $PERSIST_IMAGE_NAME_RELEASE

clang14_test_debug:
extends: [.clang14_test_common]
image: $PERSIST_IMAGE_NAME_DEBUG
55 changes: 55 additions & 0 deletions .gitlab/includes/clang17_cuda12_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Copyright (c) 2023 ETH Zurich
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file BOOST_LICENSE_1_0.rst or copy at http://www.boost.org/LICENSE_1_0.txt)

include:
- local: '.gitlab/includes/common_pipeline.yml'
- local: '.gitlab/includes/common_spack_pipeline.yml'

.variables_clang17_cuda12_config:
variables:
SPACK_ARCH: linux-ubuntu24.04-neoverse_v2
BASE_COMPILER: gcc@12
COMPILER: [email protected]
CXXSTD: 23
GPU_TARGET: '80'
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} +cuda cuda_arch=${GPU_TARGET} malloc=system cxxstd=$CXXSTD \
^[email protected] ^[email protected] ^[email protected]"
CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=$CXXSTD -DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_CUDA=ON -DCMAKE_CUDA_COMPILER=c++ -DCMAKE_CUDA_ARCHITECTURES=${GPU_TARGET} \
-DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON -DPIKA_WITH_THREAD_STACK_MMAP=OFF \
-DPIKA_WITH_STACKTRACES=OFF"

clang17_cuda12_spack_compiler_image:
extends:
- .variables_clang17_cuda12_config
- .compiler_image_template_gh200

clang17_cuda12_spack_image:
needs: [clang17_cuda12_spack_compiler_image]
extends:
- .variables_clang17_cuda12_config
- .dependencies_image_template_gh200

clang17_cuda12_build:
needs: [clang17_cuda12_spack_image]
extends:
- .variables_clang17_cuda12_config
- .build_template_gh200

.clang17_cuda12_test_common:
needs: [clang17_cuda12_build]
extends:
- .variables_clang17_cuda12_config
- .test_common_daint_gh200
- .test_template

clang17_cuda12_test_release:
extends: [.clang17_cuda12_test_common]
image: $PERSIST_IMAGE_NAME_RELEASE

clang17_cuda12_test_debug:
extends: [.clang17_cuda12_test_common]
image: $PERSIST_IMAGE_NAME_DEBUG
53 changes: 0 additions & 53 deletions .gitlab/includes/clang17_pipeline.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitlab/pipelines_on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ include:
- local: '.gitlab/includes/gcc12_hip5_pipeline.yml'
- local: '.gitlab/includes/gcc14_pipeline.yml'
- local: '.gitlab/includes/clang13_pipeline.yml'
- local: '.gitlab/includes/clang14_pipeline.yml'
- local: '.gitlab/includes/clang15_pipeline.yml'
- local: '.gitlab/includes/clang16_pipeline.yml'
- local: '.gitlab/includes/clang17_pipeline.yml'
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/pipelines_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

include:
- local: '.gitlab/includes/gcc13_pipeline.yml'
- local: '.gitlab/includes/clang14_cuda11_pipeline.yml'
- local: '.gitlab/includes/clang17_cuda12_pipeline.yml'
- local: '.gitlab/includes/gcc12_hip6_pipeline.yml'
- local: '.gitlab/includes/sloc.yml'
Loading