From 2d913f8fbddab39059223afff1bdeddae58717d6 Mon Sep 17 00:00:00 2001 From: Evan Harvey <57234914+e10harvey@users.noreply.github.com> Date: Thu, 23 May 2024 13:51:22 -0600 Subject: [PATCH] Enable 3 at2 builds (#2210) * .github/mi210: Enable on PRs * .github/mi210: Disable non-tpl build * .github/bdw: Enable PR_BDW_GNU1020_OPENMP_SERIAL_LEFT_OPENBLAS_REL * .github/h100: Enable PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL --- .github/workflows/bdw.yml | 509 ++++++++++++++++++------------------ .github/workflows/h100.yml | 22 +- .github/workflows/mi210.yml | 181 +++++++------ 3 files changed, 355 insertions(+), 357 deletions(-) diff --git a/.github/workflows/bdw.yml b/.github/workflows/bdw.yml index f5f4f9700e..381c813bbe 100644 --- a/.github/workflows/bdw.yml +++ b/.github/workflows/bdw.yml @@ -1,15 +1,14 @@ name: github-BDW -# Only allow manual runs until at2 runners are available. -on: workflow_dispatch - #pull_request: - # paths-ignore: - # - '**/*.rst' - # - '**/*.md' - # - '**/requirements.txt' - # - '**/*.py' - # - 'docs/**' - # types: [ opened, reopened, synchronize ] +on: + pull_request: + paths-ignore: + - '**/*.rst' + - '**/*.md' + - '**/requirements.txt' + - '**/*.py' + - 'docs/**' + types: [ opened, reopened, synchronize ] permissions: contents: none @@ -20,168 +19,168 @@ concurrency: cancel-in-progress: true jobs: - PR_BDW_GNU1020_OPENMP_LEFT_REL_NOETI: - name: PR_BDW_GNU1020_OPENMP_LEFT_REL_NOETI - runs-on: [kk-env-gcc-10.2.0-latest] - - steps: - - name: checkout_kokkos_kernels - uses: actions/checkout@v3 - with: - path: kokkos-kernels - - - name: checkout_kokkos - uses: actions/checkout@v3 - with: - repository: kokkos/kokkos - ref: ${{ github.base_ref }} - path: kokkos - - - name: configure_kokkos - run: | - mkdir -p kokkos/{build,install} - cd kokkos/build - cmake \ - -DCMAKE_CXX_COMPILER=g++ \ - -DCMAKE_CXX_FLAGS=-O3 \ - -DCMAKE_EXE_LINKER_FLAGS= \ - -DCMAKE_INSTALL_PREFIX=$PWD/../install \ - -DKokkos_ENABLE_OPENMP=ON \ - -DKokkos_ARCH_BDW=ON \ - -DKokkos_ENABLE_TESTS=OFF \ - -DKokkos_ENABLE_EXAMPLES=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_CXX_EXTENSIONS=OFF \ - -DCMAKE_CXX_STANDARD=17 \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ - .. - - - name: build_and_install_kokkos - working-directory: kokkos/build - run: make -j12 install - - - name: configure_kokkos_kernels - run: | - mkdir -p kokkos-kernels/{build,install} - cd kokkos-kernels/build - cmake \ - -DCMAKE_CXX_COMPILER=g++ \ - -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ - -DCMAKE_CXX_FLAGS="-O3 " \ - -DCMAKE_INSTALL_PREFIX= \ - -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ - -DKokkosKernels_ENABLE_TESTS=ON \ - -DKokkosKernels_ENABLE_PERFTESTS=ON \ - -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ - -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ - -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ - -DKokkosKernels_INST_DOUBLE=ON \ - -DKokkosKernels_INST_ORDINAL_INT=ON \ - -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ - -DKokkosKernels_INST_OFFSET_INT=ON \ - -DKokkosKernels_INST_LAYOUTLEFT=ON \ - -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ - -DCMAKE_EXE_LINKER_FLAGS="" \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkosKernels_TEST_ETI_ONLY=OFF \ - -DKokkosKernels_ENABLE_DOCS=OFF \ - .. - - - name: build_kokkos_kernels - working-directory: kokkos-kernels/build - run: make -j12 all - - - name: test - working-directory: kokkos-kernels/build - run: ctest --output-on-failure -V --timeout 3600 - - PR_BDW_GNU1020_THREADS_SERIAL_RIGHT_REL: - name: PR_BDW_GNU1020_THREADS_SERIAL_RIGHT_REL - runs-on: [kk-env-gcc-10.2.0-latest] - - steps: - - name: checkout_kokkos_kernels - uses: actions/checkout@v3 - with: - path: kokkos-kernels - - - name: checkout_kokkos - uses: actions/checkout@v3 - with: - repository: kokkos/kokkos - ref: ${{ github.base_ref }} - path: kokkos - - - name: configure_kokkos - run: | - mkdir -p kokkos/{build,install} - cd kokkos/build - cmake \ - -DCMAKE_CXX_COMPILER=g++ \ - -DCMAKE_CXX_FLAGS=-O3 \ - -DCMAKE_EXE_LINKER_FLAGS= \ - -DCMAKE_INSTALL_PREFIX=$PWD/../install \ - -DKokkos_ENABLE_SERIAL=ON \ - -DKokkos_ENABLE_THREADS=ON \ - -DKokkos_ARCH_BDW=ON \ - -DKokkos_ENABLE_TESTS=OFF \ - -DKokkos_ENABLE_EXAMPLES=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_CXX_EXTENSIONS=OFF \ - -DCMAKE_CXX_STANDARD=17 \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - .. - - - name: build_and_install_kokkos - working-directory: kokkos/build - run: make -j12 install - - - name: configure_kokkos_kernels - run: | - mkdir -p kokkos-kernels/{build,install} - cd kokkos-kernels/build - cmake \ - -DCMAKE_CXX_COMPILER=g++ \ - -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ - -DCMAKE_CXX_FLAGS="-O3 " \ - -DCMAKE_INSTALL_PREFIX= \ - -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ - -DKokkosKernels_ENABLE_TESTS=ON \ - -DKokkosKernels_ENABLE_PERFTESTS=ON \ - -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ - -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ - -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ - -DKokkosKernels_INST_DOUBLE=ON \ - -DKokkosKernels_INST_ORDINAL_INT=ON \ - -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ - -DKokkosKernels_INST_OFFSET_INT=ON \ - -DKokkosKernels_INST_LAYOUTLEFT=ON \ - -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ - -DCMAKE_EXE_LINKER_FLAGS="" \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkosKernels_ENABLE_DOCS=OFF \ - .. - - - name: build_kokkos_kernels - working-directory: kokkos-kernels/build - run: make -j12 all - - - name: test - working-directory: kokkos-kernels/build - run: ctest --output-on-failure -V --timeout 3600 +# PR_BDW_GNU1020_OPENMP_LEFT_REL_NOETI: +# name: PR_BDW_GNU1020_OPENMP_LEFT_REL_NOETI +# runs-on: [kk-env-gcc-10.2.0-latest] +# +# steps: +# - name: checkout_kokkos_kernels +# uses: actions/checkout@v3 +# with: +# path: kokkos-kernels +# +# - name: checkout_kokkos +# uses: actions/checkout@v3 +# with: +# repository: kokkos/kokkos +# ref: ${{ github.base_ref }} +# path: kokkos +# +# - name: configure_kokkos +# run: | +# mkdir -p kokkos/{build,install} +# cd kokkos/build +# cmake \ +# -DCMAKE_CXX_COMPILER=g++ \ +# -DCMAKE_CXX_FLAGS=-O3 \ +# -DCMAKE_EXE_LINKER_FLAGS= \ +# -DCMAKE_INSTALL_PREFIX=$PWD/../install \ +# -DKokkos_ENABLE_OPENMP=ON \ +# -DKokkos_ARCH_BDW=ON \ +# -DKokkos_ENABLE_TESTS=OFF \ +# -DKokkos_ENABLE_EXAMPLES=OFF \ +# -DCMAKE_VERBOSE_MAKEFILE=ON \ +# -DCMAKE_CXX_EXTENSIONS=OFF \ +# -DCMAKE_CXX_STANDARD=17 \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ +# .. +# +# - name: build_and_install_kokkos +# working-directory: kokkos/build +# run: make -j12 install +# +# - name: configure_kokkos_kernels +# run: | +# mkdir -p kokkos-kernels/{build,install} +# cd kokkos-kernels/build +# cmake \ +# -DCMAKE_CXX_COMPILER=g++ \ +# -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ +# -DCMAKE_CXX_FLAGS="-O3 " \ +# -DCMAKE_INSTALL_PREFIX= \ +# -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ +# -DKokkosKernels_ENABLE_TESTS=ON \ +# -DKokkosKernels_ENABLE_PERFTESTS=ON \ +# -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ +# -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ +# -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ +# -DKokkosKernels_INST_DOUBLE=ON \ +# -DKokkosKernels_INST_ORDINAL_INT=ON \ +# -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ +# -DKokkosKernels_INST_OFFSET_INT=ON \ +# -DKokkosKernels_INST_LAYOUTLEFT=ON \ +# -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ +# -DCMAKE_EXE_LINKER_FLAGS="" \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkosKernels_TEST_ETI_ONLY=OFF \ +# -DKokkosKernels_ENABLE_DOCS=OFF \ +# .. +# +# - name: build_kokkos_kernels +# working-directory: kokkos-kernels/build +# run: make -j12 all +# +# - name: test +# working-directory: kokkos-kernels/build +# run: ctest --output-on-failure -V --timeout 3600 +# +# PR_BDW_GNU1020_THREADS_SERIAL_RIGHT_REL: +# name: PR_BDW_GNU1020_THREADS_SERIAL_RIGHT_REL +# runs-on: [kk-env-gcc-10.2.0-latest] +# +# steps: +# - name: checkout_kokkos_kernels +# uses: actions/checkout@v3 +# with: +# path: kokkos-kernels +# +# - name: checkout_kokkos +# uses: actions/checkout@v3 +# with: +# repository: kokkos/kokkos +# ref: ${{ github.base_ref }} +# path: kokkos +# +# - name: configure_kokkos +# run: | +# mkdir -p kokkos/{build,install} +# cd kokkos/build +# cmake \ +# -DCMAKE_CXX_COMPILER=g++ \ +# -DCMAKE_CXX_FLAGS=-O3 \ +# -DCMAKE_EXE_LINKER_FLAGS= \ +# -DCMAKE_INSTALL_PREFIX=$PWD/../install \ +# -DKokkos_ENABLE_SERIAL=ON \ +# -DKokkos_ENABLE_THREADS=ON \ +# -DKokkos_ARCH_BDW=ON \ +# -DKokkos_ENABLE_TESTS=OFF \ +# -DKokkos_ENABLE_EXAMPLES=OFF \ +# -DCMAKE_VERBOSE_MAKEFILE=ON \ +# -DCMAKE_CXX_EXTENSIONS=OFF \ +# -DCMAKE_CXX_STANDARD=17 \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# .. +# +# - name: build_and_install_kokkos +# working-directory: kokkos/build +# run: make -j12 install +# +# - name: configure_kokkos_kernels +# run: | +# mkdir -p kokkos-kernels/{build,install} +# cd kokkos-kernels/build +# cmake \ +# -DCMAKE_CXX_COMPILER=g++ \ +# -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ +# -DCMAKE_CXX_FLAGS="-O3 " \ +# -DCMAKE_INSTALL_PREFIX= \ +# -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ +# -DKokkosKernels_ENABLE_TESTS=ON \ +# -DKokkosKernels_ENABLE_PERFTESTS=ON \ +# -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ +# -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ +# -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ +# -DKokkosKernels_INST_DOUBLE=ON \ +# -DKokkosKernels_INST_ORDINAL_INT=ON \ +# -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ +# -DKokkosKernels_INST_OFFSET_INT=ON \ +# -DKokkosKernels_INST_LAYOUTLEFT=ON \ +# -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ +# -DCMAKE_EXE_LINKER_FLAGS="" \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkosKernels_ENABLE_DOCS=OFF \ +# .. +# +# - name: build_kokkos_kernels +# working-directory: kokkos-kernels/build +# run: make -j12 all +# +# - name: test +# working-directory: kokkos-kernels/build +# run: ctest --output-on-failure -V --timeout 3600 PR_BDW_GNU1020_OPENMP_SERIAL_LEFT_OPENBLAS_REL: name: PR_BDW_GNU1020_OPENMP_SERIAL_LEFT_OPENBLAS_REL @@ -268,86 +267,86 @@ jobs: working-directory: kokkos-kernels/build run: ctest --output-on-failure -V --timeout 3600 - PR_BDW_CLANG1001_THREADS_SERIAL_LEFT_REL: - name: PR_BDW_CLANG1001_THREADS_SERIAL_LEFT_REL - runs-on: [kk-env-llvm-10.0.1-latest] - - steps: - - name: checkout_kokkos_kernels - uses: actions/checkout@v3 - with: - path: kokkos-kernels - - - name: checkout_kokkos - uses: actions/checkout@v3 - with: - repository: kokkos/kokkos - ref: ${{ github.base_ref }} - path: kokkos - - - name: configure_kokkos - run: | - mkdir -p kokkos/{build,install} - cd kokkos/build - cmake \ - -DCMAKE_CXX_COMPILER=clang++ \ - -DCMAKE_CXX_FLAGS="-O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized" \ - -DCMAKE_EXE_LINKER_FLAGS= \ - -DCMAKE_INSTALL_PREFIX=$PWD/../install \ - -DKokkos_ENABLE_SERIAL=ON \ - -DKokkos_ENABLE_THREADS=ON \ - -DKokkos_ARCH_BDW=ON \ - -DKokkos_ENABLE_TESTS=OFF \ - -DKokkos_ENABLE_EXAMPLES=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_CXX_EXTENSIONS=OFF \ - -DCMAKE_CXX_STANDARD=17 \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - .. - - - name: build_and_install_kokkos - working-directory: kokkos/build - run: make -j12 install - - - name: configure_kokkos_kernels - run: | - mkdir -p kokkos-kernels/{build,install} - cd kokkos-kernels/build - cmake \ - -DCMAKE_CXX_COMPILER=clang++ \ - -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ - -DCMAKE_CXX_FLAGS="-O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized" \ - -DCMAKE_INSTALL_PREFIX= \ - -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ - -DKokkosKernels_ENABLE_TESTS=ON \ - -DKokkosKernels_ENABLE_PERFTESTS=ON \ - -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ - -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ - -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ - -DKokkosKernels_INST_DOUBLE=ON \ - -DKokkosKernels_INST_ORDINAL_INT=ON \ - -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ - -DKokkosKernels_INST_OFFSET_INT=ON \ - -DKokkosKernels_INST_LAYOUTLEFT=ON \ - -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ - -DCMAKE_EXE_LINKER_FLAGS="" \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkosKernels_ENABLE_DOCS=OFF \ - .. - - - name: build_kokkos_kernels - working-directory: kokkos-kernels/build - run: make -j12 all - - - name: test - working-directory: kokkos-kernels/build - run: ctest --output-on-failure -V --timeout 3600 - - \ No newline at end of file +# PR_BDW_CLANG1001_THREADS_SERIAL_LEFT_REL: +# name: PR_BDW_CLANG1001_THREADS_SERIAL_LEFT_REL +# runs-on: [kk-env-llvm-10.0.1-latest] +# +# steps: +# - name: checkout_kokkos_kernels +# uses: actions/checkout@v3 +# with: +# path: kokkos-kernels +# +# - name: checkout_kokkos +# uses: actions/checkout@v3 +# with: +# repository: kokkos/kokkos +# ref: ${{ github.base_ref }} +# path: kokkos +# +# - name: configure_kokkos +# run: | +# mkdir -p kokkos/{build,install} +# cd kokkos/build +# cmake \ +# -DCMAKE_CXX_COMPILER=clang++ \ +# -DCMAKE_CXX_FLAGS="-O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized" \ +# -DCMAKE_EXE_LINKER_FLAGS= \ +# -DCMAKE_INSTALL_PREFIX=$PWD/../install \ +# -DKokkos_ENABLE_SERIAL=ON \ +# -DKokkos_ENABLE_THREADS=ON \ +# -DKokkos_ARCH_BDW=ON \ +# -DKokkos_ENABLE_TESTS=OFF \ +# -DKokkos_ENABLE_EXAMPLES=OFF \ +# -DCMAKE_VERBOSE_MAKEFILE=ON \ +# -DCMAKE_CXX_EXTENSIONS=OFF \ +# -DCMAKE_CXX_STANDARD=17 \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# .. +# +# - name: build_and_install_kokkos +# working-directory: kokkos/build +# run: make -j12 install +# +# - name: configure_kokkos_kernels +# run: | +# mkdir -p kokkos-kernels/{build,install} +# cd kokkos-kernels/build +# cmake \ +# -DCMAKE_CXX_COMPILER=clang++ \ +# -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ +# -DCMAKE_CXX_FLAGS="-O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized" \ +# -DCMAKE_INSTALL_PREFIX= \ +# -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ +# -DKokkosKernels_ENABLE_TESTS=ON \ +# -DKokkosKernels_ENABLE_PERFTESTS=ON \ +# -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ +# -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ +# -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ +# -DKokkosKernels_INST_DOUBLE=ON \ +# -DKokkosKernels_INST_ORDINAL_INT=ON \ +# -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ +# -DKokkosKernels_INST_OFFSET_INT=ON \ +# -DKokkosKernels_INST_LAYOUTLEFT=ON \ +# -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ +# -DCMAKE_EXE_LINKER_FLAGS="" \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkosKernels_ENABLE_DOCS=OFF \ +# .. +# +# - name: build_kokkos_kernels +# working-directory: kokkos-kernels/build +# run: make -j12 all +# +# - name: test +# working-directory: kokkos-kernels/build +# run: ctest --output-on-failure -V --timeout 3600 +# +# \ No newline at end of file diff --git a/.github/workflows/h100.yml b/.github/workflows/h100.yml index 279b6089fa..8ba4eb308a 100644 --- a/.github/workflows/h100.yml +++ b/.github/workflows/h100.yml @@ -1,15 +1,15 @@ name: github-H100 # Only allow manual runs until at2 runners are available. -on: workflow_dispatch - #pull_request: - # paths-ignore: - # - '**/*.rst' - # - '**/*.md' - # - '**/requirements.txt' - # - '**/*.py' - # - 'docs/**' - # types: [ opened, reopened, synchronize ] +on: + pull_request: + paths-ignore: + - '**/*.rst' + - '**/*.md' + - '**/requirements.txt' + - '**/*.py' + - 'docs/**' + types: [ opened, reopened, synchronize ] permissions: contents: none @@ -20,8 +20,8 @@ concurrency: cancel-in-progress: true jobs: - PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL_2: - name: PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL_2 + PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL: + name: PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL runs-on: [kk-env-cuda-11.8.0-gcc-11.3.0-latest] steps: diff --git a/.github/workflows/mi210.yml b/.github/workflows/mi210.yml index 7f4518b244..fa20b49c3b 100644 --- a/.github/workflows/mi210.yml +++ b/.github/workflows/mi210.yml @@ -1,15 +1,14 @@ name: github-MI210 -# Only allow manual runs until at2 runners are available. -on: workflow_dispatch - #pull_request: - # paths-ignore: - # - '**/*.rst' - # - '**/*.md' - # - '**/requirements.txt' - # - '**/*.py' - # - 'docs/**' - # types: [ opened, reopened, synchronize ] +on: + pull_request: + paths-ignore: + - '**/*.rst' + - '**/*.md' + - '**/requirements.txt' + - '**/*.py' + - 'docs/**' + types: [ opened, reopened, synchronize ] permissions: contents: none @@ -20,87 +19,87 @@ concurrency: cancel-in-progress: true jobs: - PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT_REL: - name: PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT_REL - runs-on: [kk-env-hip-5.6.1-latest] - - steps: - - name: checkout_kokkos_kernels - uses: actions/checkout@v4 - with: - path: kokkos-kernels - - - name: checkout_kokkos - uses: actions/checkout@v4 - with: - repository: kokkos/kokkos - ref: ${{ github.base_ref }} - path: kokkos - - - name: configure_kokkos - run: | - mkdir -p kokkos/{build,install} - cd kokkos/build - HIPCC=$(which hipcc) - cmake -DCMAKE_CXX_COMPILER=$HIPCC \ - -DCMAKE_CXX_FLAGS=-O3 \ - -DCMAKE_EXE_LINKER_FLAGS= \ - -DCMAKE_INSTALL_PREFIX=$PWD/../install \ - -DKokkos_ENABLE_SERIAL=ON \ - -DKokkos_ENABLE_HIP=ON \ - -DKokkos_ARCH_VEGA90A=ON \ - -DKokkos_ENABLE_TESTS=OFF \ - -DKokkos_ENABLE_EXAMPLES=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_CXX_EXTENSIONS=OFF \ - -DCMAKE_CXX_STANDARD=17 \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ - -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ - .. - - - name: build_and_install_kokkos - working-directory: kokkos/build - run: make -j16 install - - - name: configure_kokkos_kernels - run: | - mkdir -p kokkos-kernels/{build,install} - cd kokkos-kernels/build - HIPCC=$(which hipcc) - cmake -DCMAKE_CXX_COMPILER=$HIPCC \ - -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ - -DCMAKE_CXX_FLAGS="-O3 " \ - -DCMAKE_INSTALL_PREFIX= \ - -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ - -DKokkosKernels_ENABLE_TESTS=ON \ - -DKokkosKernels_ENABLE_PERFTESTS=ON \ - -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ - -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ - -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ - -DKokkosKernels_INST_DOUBLE=ON \ - -DKokkosKernels_INST_ORDINAL_INT=ON \ - -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ - -DKokkosKernels_INST_OFFSET_INT=ON \ - -DKokkosKernels_INST_LAYOUTLEFT=ON \ - -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ - -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ - -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ - -DCMAKE_EXE_LINKER_FLAGS="" \ - -DBUILD_SHARED_LIBS=OFF \ - -DKokkosKernels_ENABLE_DOCS=OFF \ - .. - - - name: build - working-directory: kokkos-kernels/build - run: make -j12 all - - - name: test - working-directory: kokkos-kernels/build - run: ctest --output-on-failure -V --timeout 3600 +# PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT_REL: +# name: PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT_REL +# runs-on: [kk-env-hip-5.6.1-latest] +# +# steps: +# - name: checkout_kokkos_kernels +# uses: actions/checkout@v4 +# with: +# path: kokkos-kernels +# +# - name: checkout_kokkos +# uses: actions/checkout@v4 +# with: +# repository: kokkos/kokkos +# ref: ${{ github.base_ref }} +# path: kokkos +# +# - name: configure_kokkos +# run: | +# mkdir -p kokkos/{build,install} +# cd kokkos/build +# HIPCC=$(which hipcc) +# cmake -DCMAKE_CXX_COMPILER=$HIPCC \ +# -DCMAKE_CXX_FLAGS=-O3 \ +# -DCMAKE_EXE_LINKER_FLAGS= \ +# -DCMAKE_INSTALL_PREFIX=$PWD/../install \ +# -DKokkos_ENABLE_SERIAL=ON \ +# -DKokkos_ENABLE_HIP=ON \ +# -DKokkos_ARCH_VEGA90A=ON \ +# -DKokkos_ENABLE_TESTS=OFF \ +# -DKokkos_ENABLE_EXAMPLES=OFF \ +# -DCMAKE_VERBOSE_MAKEFILE=ON \ +# -DCMAKE_CXX_EXTENSIONS=OFF \ +# -DCMAKE_CXX_STANDARD=17 \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# -DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ +# -DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ +# .. +# +# - name: build_and_install_kokkos +# working-directory: kokkos/build +# run: make -j16 install +# +# - name: configure_kokkos_kernels +# run: | +# mkdir -p kokkos-kernels/{build,install} +# cd kokkos-kernels/build +# HIPCC=$(which hipcc) +# cmake -DCMAKE_CXX_COMPILER=$HIPCC \ +# -DKokkos_DIR=$PWD/../../kokkos/install/lib64/cmake/Kokkos \ +# -DCMAKE_CXX_FLAGS="-O3 " \ +# -DCMAKE_INSTALL_PREFIX= \ +# -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ +# -DKokkosKernels_ENABLE_TESTS=ON \ +# -DKokkosKernels_ENABLE_PERFTESTS=ON \ +# -DKokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ +# -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ +# -DKokkosKernels_INST_COMPLEX_DOUBLE=ON \ +# -DKokkosKernels_INST_DOUBLE=ON \ +# -DKokkosKernels_INST_ORDINAL_INT=ON \ +# -DKokkosKernels_INST_OFFSET_SIZE_T=ON \ +# -DKokkosKernels_INST_OFFSET_INT=ON \ +# -DKokkosKernels_INST_LAYOUTLEFT=ON \ +# -DKokkosKernels_ENABLE_TPL_ROCSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_ROCBLAS=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF \ +# -DKokkosKernels_ENABLE_TPL_CUBLAS=OFF \ +# -DCMAKE_EXE_LINKER_FLAGS="" \ +# -DBUILD_SHARED_LIBS=OFF \ +# -DKokkosKernels_ENABLE_DOCS=OFF \ +# .. +# +# - name: build +# working-directory: kokkos-kernels/build +# run: make -j12 all +# +# - name: test +# working-directory: kokkos-kernels/build +# run: ctest --output-on-failure -V --timeout 3600 PR_VEGA908_ROCM561_HIP_SERIAL_LEFT_OPENBLAS_REL: name: PR_VEGA908_ROCM561_HIP_SERIAL_LEFT_OPENBLAS_REL