Add missing cuda stream destroy after memcopy operasrtions #127
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: CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-cpu: | |
runs-on: ubuntu-latest | |
container: ghcr.io/gridtools/gridtools-base:gcc-9-ucx-mpi | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Configure | |
run: | | |
echo "WORKFLOW" | |
export SHLVL=1 | |
env | |
ulimit -a | |
ipcs -lm | |
df | |
cat /proc/cpuinfo | |
mkdir -p build && cd build | |
cmake \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DHWMALLOC_ENABLE_DEVICE=ON \ | |
-DHWMALLOC_DEVICE_RUNTIME=emulate \ | |
-DHWMALLOC_WITH_TESTING=ON \ | |
-DHWMALLOC_DISABLE_NUMA_TEST=ON \ | |
.. | |
- name: Build | |
run: cmake --build build --parallel 2 | |
- name: Execute tests | |
run: cd build && export SHLVL=1 && export CTEST_OUTPUT_ON_FAILURE=1 && env && ctest | |
build-cuda: | |
runs-on: ubuntu-latest | |
container: ghcr.io/gridtools/gridtools-base:gcc-9-ucx-mpi-atlas-parmetis-cuda-11 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Configure | |
run: | | |
echo "WORKFLOW" | |
export SHLVL=1 | |
env | |
ulimit -a | |
ipcs -lm | |
df | |
cat /proc/cpuinfo | |
mkdir -p build && cd build | |
cmake \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DHWMALLOC_ENABLE_DEVICE=ON \ | |
-DHWMALLOC_DEVICE_RUNTIME=cuda \ | |
-DHWMALLOC_WITH_TESTING=ON \ | |
-DHWMALLOC_DISABLE_NUMA_TEST=ON \ | |
.. | |
- name: Build | |
run: cmake --build build --parallel 2 | |
build-hip: | |
runs-on: ubuntu-latest | |
container: ghcr.io/gridtools/gridtools-base:gcc-9-ucx-mpi-atlas-parmetis-hip | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Configure | |
run: | | |
echo "WORKFLOW" | |
export SHLVL=1 | |
env | |
ulimit -a | |
ipcs -lm | |
df | |
cat /proc/cpuinfo | |
mkdir -p build && cd build | |
CXX=/opt/rocm/llvm/bin/clang++ cmake .. \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DHWMALLOC_ENABLE_DEVICE=ON \ | |
-DHWMALLOC_DEVICE_RUNTIME=hip \ | |
-DHWMALLOC_WITH_TESTING=ON \ | |
-DHWMALLOC_DISABLE_NUMA_TEST=ON \ | |
.. | |
- name: Build | |
run: cmake --build build --parallel 2 |