From 1e0d4a3706aa4616667fe903a5dbd2b935e607dc Mon Sep 17 00:00:00 2001 From: Luca Bertagna Date: Fri, 14 Feb 2025 17:31:31 -0700 Subject: [PATCH] Workflows: hard-code SCREAM_SMALL_KERNELS=ON for CUDA dbg eamxx builds --- .github/workflows/eamxx-sa-sanitizer.yml | 2 +- .github/workflows/eamxx-sa-testing.yml | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/eamxx-sa-sanitizer.yml b/.github/workflows/eamxx-sa-sanitizer.yml index 00f60f7da2e3..0ae96fd2939c 100644 --- a/.github/workflows/eamxx-sa-sanitizer.yml +++ b/.github/workflows/eamxx-sa-sanitizer.yml @@ -94,4 +94,4 @@ jobs: machine: ghci-snl-cuda generate: false submit: ${{ env.submit }} - cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }} + cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }};SCREAM_SMALL_KERNELS=ON diff --git a/.github/workflows/eamxx-sa-testing.yml b/.github/workflows/eamxx-sa-testing.yml index f07545b37fa8..c955ec7d9f13 100644 --- a/.github/workflows/eamxx-sa-testing.yml +++ b/.github/workflows/eamxx-sa-testing.yml @@ -105,8 +105,14 @@ jobs: strategy: fail-fast: false matrix: - build_type: [sp, dbg, opt] - name: gcc-cuda / ${{ matrix.build_type }} + test: + - build_type: sp + SK: OFF + - build_type: dbg + SK: ON + - build_type: opt + SK: OFF + name: gcc-cuda / ${{ matrix.test.build_type }} steps: - name: Check out the repository uses: actions/checkout@v4 @@ -148,9 +154,9 @@ jobs: - name: Run tests uses: ./.github/actions/test-all-scream with: - build_type: ${{ matrix.build_type }} + build_type: ${{ matrix.test.build_type }} machine: ghci-snl-cuda generate: ${{ env.generate }} submit: ${{ env.submit }} - cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }} + cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }};SCREAM_SMALL_KERNELS=${{ matrix.test.SK }} ekat: ${{ env.ekat }}