Skip to content

Commit

Permalink
Merge branch 'release-candidate-4.5.00' for 4.5.00
Browse files Browse the repository at this point in the history
Part of Kokkos C++ Performance Portability Programming EcoSystem 4.5

Signed-off-by: Nathan Ellingwood <[email protected]>
  • Loading branch information
ndellingwood committed Nov 11, 2024
2 parents 0b43169 + 5b116ec commit 4a7590a
Show file tree
Hide file tree
Showing 588 changed files with 11,710 additions and 3,999 deletions.
8 changes: 8 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
Checks: >
bugprone-reserved-identifier,
-clang-analyzer*

WarningsAsErrors: '*'
FormatStyle: 'file'
HeaderFilterRegex: '.*Kokkos.*'
19 changes: 17 additions & 2 deletions .github/workflows/at2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,27 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
KOKKOS_VERSION: 4.4.01

jobs:
mi210:
uses: ./.github/workflows/mi210.yml
with:
kokkos_version: 4.4.01
h100:
uses: ./.github/workflows/h100.yml
with:
kokkos_version: 4.4.01
bdw:
uses: ./.github/workflows/bdw.yml
#spr:
#uses: ./.github/workflows/spr.yml
with:
kokkos_version: 4.4.01
spr:
uses: ./.github/workflows/spr.yml
with:
kokkos_version: 4.4.01
volta70:
uses: ./.github/workflows/volta70.yml
with:
kokkos_version: 4.4.01
203 changes: 106 additions & 97 deletions .github/workflows/bdw.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
name: Reusable BDW workflow

permissions:
contents: none

on:
workflow_call
workflow_call:
inputs:
kokkos_version:
description: 'The Kokkos Core version to build'
default: ''
required: true
type: string

jobs:
# PR_BDW_GNU1020_OPENMP_LEFT_REL_NOETI:
Expand All @@ -10,15 +19,15 @@ jobs:
#
# steps:
# - name: checkout_kokkos_kernels
# uses: actions/checkout@v3
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# with:
# path: kokkos-kernels
#
# - name: checkout_kokkos
# uses: actions/checkout@v3
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# with:
# repository: kokkos/kokkos
# ref: ${{ github.base_ref }}
# ref: ${{ inputs.kokkos_version }}
# path: kokkos
#
# - name: configure_kokkos
Expand All @@ -44,7 +53,7 @@ jobs:
#
# - name: build_and_install_kokkos
# working-directory: kokkos/build
# run: make -j12 install
# run: make -j8 install
#
# - name: configure_kokkos_kernels
# run: |
Expand Down Expand Up @@ -79,7 +88,7 @@ jobs:
#
# - name: build_kokkos_kernels
# working-directory: kokkos-kernels/build
# run: make -j12 all
# run: make -j8 all
#
# - name: test
# working-directory: kokkos-kernels/build
Expand All @@ -91,15 +100,15 @@ jobs:
#
# steps:
# - name: checkout_kokkos_kernels
# uses: actions/checkout@v3
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# with:
# path: kokkos-kernels
#
# - name: checkout_kokkos
# uses: actions/checkout@v3
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# with:
# repository: kokkos/kokkos
# ref: ${{ github.base_ref }}
# ref: ${{ inputs.kokkos_version }}
# path: kokkos
#
# - name: configure_kokkos
Expand Down Expand Up @@ -127,7 +136,7 @@ jobs:
#
# - name: build_and_install_kokkos
# working-directory: kokkos/build
# run: make -j12 install
# run: make -j8 install
#
# - name: configure_kokkos_kernels
# run: |
Expand Down Expand Up @@ -161,7 +170,7 @@ jobs:
#
# - name: build_kokkos_kernels
# working-directory: kokkos-kernels/build
# run: make -j12 all
# run: make -j8 all
#
# - name: test
# working-directory: kokkos-kernels/build
Expand All @@ -173,15 +182,15 @@ jobs:

steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down Expand Up @@ -252,86 +261,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
#
#
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: kokkos-kernels

- name: checkout_kokkos
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: kokkos/kokkos
ref: ${{ inputs.kokkos_version }}
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 -j8 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 -j8 all

- name: test
working-directory: kokkos-kernels/build
run: ctest --output-on-failure -V --timeout 3600


10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,26 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: checkout_kokkos_kernels
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: kokkos-kernels

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
languages: c-cpp
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

- name: checkout_kokkos
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'kokkos/kokkos'
path: 'kokkos'
Expand Down Expand Up @@ -100,6 +100,6 @@ jobs:
run: make -j2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
category: "/language:c-cpp"
6 changes: 3 additions & 3 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- name: 'Checkout Repository'
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Dependency Review'
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
uses: actions/dependency-review-action@4081bf99e2866ebe428fc0477b69eb4fcda7220a # v4.4.0
Loading

0 comments on commit 4a7590a

Please sign in to comment.