From b840409005138e8cb2d628bd4f070674bb65e58b Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Tue, 17 Dec 2024 18:06:00 +0100 Subject: [PATCH] Add CI configuration with ROCm 6 (#1240) --- ci/.gitlab-ci.yml | 1 + ci/docker/release-rocm602-stdexec.yaml | 70 ++++++++++++++++++++++++++ ci/rocm/clang15_release_stdexec.yml | 21 ++++++++ 3 files changed, 92 insertions(+) create mode 100644 ci/docker/release-rocm602-stdexec.yaml create mode 100644 ci/rocm/clang15_release_stdexec.yml diff --git a/ci/.gitlab-ci.yml b/ci/.gitlab-ci.yml index 0204a001ee..babbf0e869 100644 --- a/ci/.gitlab-ci.yml +++ b/ci/.gitlab-ci.yml @@ -17,3 +17,4 @@ include: - local: 'ci/cuda/gcc13_release_stdexec.yml' - local: 'ci/rocm/clang14_release.yml' - local: 'ci/rocm/clang14_release_stdexec.yml' + - local: 'ci/rocm/clang15_release_stdexec.yml' diff --git a/ci/docker/release-rocm602-stdexec.yaml b/ci/docker/release-rocm602-stdexec.yaml new file mode 100644 index 0000000000..75bb117026 --- /dev/null +++ b/ci/docker/release-rocm602-stdexec.yaml @@ -0,0 +1,70 @@ +# +# Distributed Linear Algebra with Future (DLAF) +# +# Copyright (c) 2018-2024, ETH Zurich +# All rights reserved. +# +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause +# + +spack: + include: + - /spack_environment/common.yaml + + view: false + concretizer: + unify: + true + + specs: + - dla-future@master +rocm amdgpu_target=gfx90a:xnack- +miniapps +ci-test + + packages: + all: + variants: + - build_type=Release + - cxxstd=20 + - amdgpu_target=gfx90a:xnack- + pika: + require: + - '+stdexec' + blas: + require:: openblas + lapack: + require:: openblas + mpich: + require: + - '~rocm' + - 'device=ch3' + - 'netmod=tcp' + llvm-amdgpu: + externals: + - spec: llvm-amdgpu@6.0.2 ~rocm-device-libs + prefix: /opt/rocm-6.0.2/llvm + buildable: false + rocm-device-libs: + externals: + - spec: rocm-device-libs@6.0.2 + prefix: /opt/rocm-6.0.2 + buildable: false + hip: + externals: + - spec: hip@6.0.2 + prefix: /opt/rocm-6.0.2 + buildable: false + rocblas: + externals: + - spec: rocblas@6.0.2 + prefix: /opt/rocm-6.0.2 + buildable: false + rocsolver: + externals: + - spec: rocsolver@6.0.2 + prefix: /opt/rocm-6.0.2 + buildable: false + hsa-rocr-dev: + externals: + - spec: hsa-rocr-dev@6.0.2 + prefix: /opt/rocm-6.0.2 + buildable: false diff --git a/ci/rocm/clang15_release_stdexec.yml b/ci/rocm/clang15_release_stdexec.yml new file mode 100644 index 0000000000..71a9710d7c --- /dev/null +++ b/ci/rocm/clang15_release_stdexec.yml @@ -0,0 +1,21 @@ +include: + - local: 'ci/common-ci.yml' + +rocm clang15 stdexec release deps: + extends: .build_deps_common + variables: + BASE_IMAGE: docker.io/rocm/dev-ubuntu-22.04:6.0.2 + EXTRA_APTGET: "clang-15 libomp-15-dev rocblas rocblas-dev rocsolver rocsolver-dev llvm-amdgpu rocm-device-libs" + COMPILER: clang@15 + USE_ROCBLAS: "ON" + SPACK_ENVIRONMENT: ci/docker/release-rocm602-stdexec.yaml + DEPS_IMAGE: $CSCS_REGISTRY_PATH/rocm-clang15-stdexec-release/deps + +rocm clang15 stdexec release build: + extends: + - .build_common + after_script: null + needs: + - rocm clang15 stdexec release deps + variables: + DLAF_IMAGE: $CSCS_REGISTRY_PATH/rocm-clang15-stdexec-release/dlaf:$CI_COMMIT_SHA