AT-2: updating hip no tpl runs-on tag #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reusable MI210 workflow | ||
on: | ||
workflow_call | ||
jobs: | ||
PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT: | ||
name: PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT | ||
runs-on: [kk-env-openblas-0.3.23-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 -S "/kokkos" \ | ||
-B "/kokkos/build" \ | ||
-D CMAKE_CXX_COMPILER=$HIPCC \ | ||
-D CMAKE_CXX_FLAGS="-O3" \ | ||
-D CMAKE_EXE_LINKER_FLAGS= \ | ||
-D CMAKE_INSTALL_PREFIX="/kokkos/install" \ | ||
-D CMAKE_VERBOSE_MAKEFILE=ON \ | ||
-D CMAKE_CXX_EXTENSIONS=OFF \ | ||
-D CMAKE_CXX_STANDARD=17 \ | ||
-D BUILD_SHARED_LIBS=OFF \ | ||
-D Kokkos_ENABLE_SERIAL=ON \ | ||
-D Kokkos_ENABLE_HIP=ON \ | ||
-D Kokkos_ARCH_VEGA90A=ON \ | ||
-D Kokkos_ENABLE_TESTS=OFF \ | ||
-D Kokkos_ENABLE_EXAMPLES=OFF \ | ||
-D Kokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ | ||
-D Kokkos_ENABLE_DEPRECATED_CODE_4=OFF \ | ||
-D Kokkos_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 -S "/kokkos-kernels" \ | ||
-B "/kokkos-kernels/build" \ | ||
-D CMAKE_CXX_COMPILER=$HIPCC \ | ||
-D CMAKE_CXX_FLAGS="-O3 " \ | ||
-D CMAKE_INSTALL_PREFIX= \ | ||
-D CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ | ||
-D CMAKE_EXE_LINKER_FLAGS="" \ | ||
-D BUILD_SHARED_LIBS=OFF \ | ||
-D Kokkos_ROOT="/kokkos/install" \ | ||
-D KokkosKernels_ENABLE_TESTS=ON \ | ||
-D KokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ | ||
-D KokkosKernels_ENABLE_PERFTESTS=ON \ | ||
-D KokkosKernels_INST_COMPLEX_DOUBLE=ON \ | ||
-D KokkosKernels_INST_DOUBLE=ON \ | ||
-D KokkosKernels_INST_ORDINAL_INT=ON \ | ||
-D KokkosKernels_INST_OFFSET_SIZE_T=ON \ | ||
-D KokkosKernels_INST_OFFSET_INT=ON \ | ||
-D KokkosKernels_INST_LAYOUTLEFT=ON \ | ||
-D KokkosKernels_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_TPLS: | ||
name: PR_VEGA90A_ROCM561_HIP_SERIAL_LEFT_TPLS | ||
runs-on: [kk-env-openblas-0.3.23-hip-5.6.1-latest] | ||
steps: | ||
- name: checkout_kokkos_kernels | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
path: kokkos-kernels | ||
- name: checkout_kokkos | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
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 -S /kokkos \ | ||
-B /kokkos/build \ | ||
-D CMAKE_CXX_COMPILER=$HIPCC \ | ||
-D CMAKE_CXX_FLAGS=-O3 \ | ||
-D CMAKE_EXE_LINKER_FLAGS= \ | ||
-D CMAKE_INSTALL_PREFIX=/kokkos/install \ | ||
-D CMAKE_VERBOSE_MAKEFILE=ON \ | ||
-D CMAKE_CXX_EXTENSIONS=OFF \ | ||
-D CMAKE_CXX_STANDARD=17 \ | ||
-D BUILD_SHARED_LIBS=OFF \ | ||
-D Kokkos_ENABLE_SERIAL=ON \ | ||
-D Kokkos_ENABLE_HIP=ON \ | ||
-D Kokkos_ARCH_VEGA90A=ON \ | ||
-D Kokkos_ENABLE_TESTS=OFF \ | ||
-D Kokkos_ENABLE_EXAMPLES=OFF \ | ||
-D Kokkos_ENABLE_DEPRECATION_WARNINGS=OFF \ | ||
-D Kokkos_ENABLE_DEPRECATED_CODE_4=OFF \ | ||
-D Kokkos_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 -S /kokkos-kernels \ | ||
-B /kokkos-kernels/build \ | ||
-D CMAKE_CXX_COMPILER=$HIPCC \ | ||
-D CMAKE_CXX_FLAGS="-O3 -I$ROCM_CORE_ROOT/include" \ | ||
-D CMAKE_INSTALL_PREFIX="/kokkos-kernels/install" \ | ||
-D CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \ | ||
-D CMAKE_EXE_LINKER_FLAGS="" \ | ||
-D BUILD_SHARED_LIBS=OFF \ | ||
-D Kokkos_ROOT="/kokkos/install" \ | ||
-D KokkosKernels_INST_COMPLEX_DOUBLE=ON \ | ||
-D KokkosKernels_INST_DOUBLE=ON \ | ||
-D KokkosKernels_INST_ORDINAL_INT=ON \ | ||
-D KokkosKernels_INST_OFFSET_SIZE_T=ON \ | ||
-D KokkosKernels_INST_OFFSET_INT=ON \ | ||
-D KokkosKernels_INST_LAYOUTLEFT=ON \ | ||
-D KokkosKernels_ENABLE_TPL_ROCSOLVER=ON \ | ||
-D KokkosKernels_ENABLE_TPL_ROCSPARSE=ON \ | ||
-D KokkosKernels_ENABLE_TPL_ROCBLAS=ON \ | ||
-D KokkosKernels_ENABLE_TPL_BLAS=ON \ | ||
-D KokkosKernels_ENABLE_TESTS=ON \ | ||
-D KokkosKernels_ENABLE_PERFTESTS=ON \ | ||
-D KokkosKernels_ENABLE_EXAMPLES:BOOL=ON \ | ||
-D KokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \ | ||
-D KokkosKernels_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 |