Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: adding variable to set kokkos version to test against #2389

Merged
merged 2 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/at2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +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
with:
kokkos_version: 4.4.01
spr:
uses: ./.github/workflows/spr.yml
with:
kokkos_version: 4.4.01
volta70:
uses: ./.github/workflows/volta70.yml
uses: ./.github/workflows/volta70.yml
with:
kokkos_version: 4.4.01
20 changes: 13 additions & 7 deletions .github/workflows/bdw.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Reusable BDW workflow

on:
workflow_call

permissions:
contents: none

on:
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:
# name: PR_BDW_GNU1020_OPENMP_LEFT_REL_NOETI
Expand All @@ -21,7 +27,7 @@ jobs:
# uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
# with:
# repository: kokkos/kokkos
# ref: ${{ github.base_ref }}
# ref: ${{ inputs.kokkos_version }}
# path: kokkos
#
# - name: configure_kokkos
Expand Down Expand Up @@ -102,7 +108,7 @@ jobs:
# uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
# with:
# repository: kokkos/kokkos
# ref: ${{ github.base_ref }}
# ref: ${{ inputs.kokkos_version }}
# path: kokkos
#
# - name: configure_kokkos
Expand Down Expand Up @@ -184,7 +190,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down Expand Up @@ -269,7 +275,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/h100.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Reusable H100 workflow

on:
workflow_call

permissions:
contents: none

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

jobs:
PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL:
name: PR_HOPPER90_CUDA1180_CUDA_LEFT_RIGHT_REL
Expand All @@ -21,7 +27,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/mi210.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Reusable MI210 workflow

on:
workflow_call

permissions:
contents: none

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

jobs:
PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT:
name: PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT
Expand All @@ -21,7 +27,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down Expand Up @@ -102,7 +108,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: ${{ github.base_ref }}
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
kokkos_version: 4.4.01

jobs:
check-pr-labels:
runs-on: [ubuntu-latest]
Expand Down Expand Up @@ -58,7 +61,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: 4.3.01
ref: ${{ env.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/spr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Reusable SPR workflow

on:
workflow_call

permissions:
contents: none

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

jobs:
PR_SPR_ONEAPI202310_OPENMP_LEFT_MKLBLAS_MKLLAPACK_REL:
name: PR_SPR_ONEAPI202310_OPENMP_LEFT_MKLBLAS_MKLLAPACK_REL
Expand All @@ -21,7 +27,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: 4.3.01
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/volta70.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Reusable VOLTA70 workflow

on:
workflow_call

permissions:
contents: none

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

jobs:
PR_VOLTA70_CUDA1122_CUDA_LEFT_RIGHT_REL:
name: PR_VOLTA70_CUDA1122_CUDA_LEFT_RIGHT_REL
Expand All @@ -21,7 +27,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: 4.4.00
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down Expand Up @@ -87,7 +93,7 @@ jobs:
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
repository: kokkos/kokkos
ref: 4.4.00
ref: ${{ inputs.kokkos_version }}
path: kokkos

- name: configure_kokkos
Expand Down
Loading