Skip to content

Ifpack2 btds gemm #4438

Ifpack2 btds gemm

Ifpack2 btds gemm #4438

Workflow file for this run

name: github-OSX
on:
pull_request:
paths-ignore:
- '**/*.rst'
- '**/*.md'
- '**/requirements.txt'
- '**/*.py'
- 'docs/**'
types: [ opened, reopened, synchronize ]
permissions:
contents: none
# Cancels any in progress 'workflow' associated with this PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
kokkos_version: 4.7.00
jobs:
check-pr-labels:
runs-on: [ubuntu-latest]
steps:
- uses: docker://agilepathway/pull-request-label-checker@sha256:ee57b0e1aedab22063ce6467a6e6358e254a9204693ca20d8a16b2d891db8d5f # v1.6.32
with:
none_of: 'AT: WIP'
repo_token: ${{ secrets.GITHUB_TOKEN }}
osxci:
needs: check-pr-labels
# TODO: allow re-run via retest label if: ${{ github.event.label.name == 'AT: RETEST' }}
name: osx-ci
runs-on: [macos-latest]
strategy:
matrix:
include:
- backend: "SERIAL"
cmake_build_type: "RelWithDebInfo"
debug_bounds_check: "ON"
- backend: "THREADS"
cmake_build_type: "RelWithDebInfo"
debug_bounds_check: "ON"
- backend: "SERIAL"
cmake_build_type: "Debug"
debug_bounds_check: "OFF"
- backend: "SERIAL"
cmake_build_type: "Release"
debug_bounds_check: "ON"
steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
path: kokkos-kernels
- name: checkout_kokkos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
repository: kokkos/kokkos
ref: ${{ env.kokkos_version }}
path: kokkos
- name: configure_kokkos
run: |
mkdir -p kokkos/{build,install}
cd kokkos/build
cmake \
-S "$PWD/.." \
-B "$PWD" \
-D CMAKE_CXX_FLAGS="-Werror" \
-D CMAKE_CXX_STANDARD=20 \
-D CMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \
-D CMAKE_INSTALL_PREFIX=$PWD/../install \
-D Kokkos_ENABLE_${{ matrix.backend }}=ON \
-D Kokkos_ENABLE_COMPILER_WARNINGS=ON \
-D Kokkos_ENABLE_DEBUG_BOUNDS_CHECK:BOOL=${{ matrix.debug_bounds_check }} \
-D Kokkos_ENABLE_TESTS=OFF \
-D Kokkos_ENABLE_DEPRECATED_CODE_4=OFF
- name: build_and_install_kokkos
working-directory: kokkos/build
run: cmake --build . --target install --parallel 3
- name: configure_kokkos_kernels
run: |
mkdir -p kokkos-kernels/{build,install}
cd kokkos-kernels/build
cmake \
-S "$PWD/.." \
-B "$PWD" \
-D CMAKE_CXX_FLAGS="-Wall -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wignored-qualifiers -Wempty-body -Wuninitialized" \
-D CMAKE_CXX_STANDARD=20 \
-D CMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \
-D CMAKE_INSTALL_PREFIX="$PWD/../install" \
-D Kokkos_ROOT="$PWD/../../kokkos/install" \
-D KokkosKernels_ENABLE_TESTS=ON \
-D KokkosKernels_ENABLE_EXAMPLES:BOOL=ON \
-D KokkosKernels_INST_COMPLEX_DOUBLE=ON \
-D KokkosKernels_INST_DOUBLE=ON \
-D KokkosKernels_INST_COMPLEX_FLOAT=ON \
-D KokkosKernels_INST_FLOAT=ON \
-D KokkosKernels_INST_LAYOUTLEFT:BOOL=ON \
-D KokkosKernels_INST_LAYOUTRIGHT:BOOL=ON \
-D KokkosKernels_INST_OFFSET_INT=ON \
-D KokkosKernels_INST_OFFSET_SIZE_T=ON
- name: build_kokkos_kernels
working-directory: kokkos-kernels/build
run: cmake --build . --target install --parallel 3
- name: test
working-directory: kokkos-kernels/build
run: ctest -j 3 --output-on-failure --timeout 7200