Skip to content

Commit

Permalink
add a debug nvhpc build to the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Aug 28, 2023
1 parent 31abdb2 commit 5194525
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
fail-fast: false
matrix:
include:
- { name: "nvc++ 23.3", cuda: "12.0", cxx: "mpic++", tag: "nvhpc23.3", gpu: "v100", sm: "70", driver: "latest", arch: "amd64" }
- { name: "clang 16", cuda: "12.0", cxx: "clang++", tag: "llvm16-cuda12.0", gpu: "v100", sm: "70", driver: "latest", arch: "amd64" }
- { name: "clang 16", cuda: "12.0", cxx: "clang++", build: "Release", tag: "llvm16-cuda12.0", gpu: "v100", sm: "70", driver: "latest", arch: "amd64" }
- { name: "nvc++ 23.3", cuda: "12.0", cxx: "mpic++", build: "Release", tag: "nvhpc23.3", gpu: "v100", sm: "70", driver: "latest", arch: "amd64" }
- { name: "nvc++ 23.3", cuda: "12.0", cxx: "mpic++", build: "Debug", tag: "nvhpc23.3", gpu: "v100", sm: "70", driver: "latest", arch: "amd64" }
runs-on: linux-${{ matrix.arch }}-gpu-${{ matrix.gpu }}-${{ matrix.driver }}-1
container:
options: -u root
Expand All @@ -45,11 +46,12 @@ jobs:
cd /workspaces/stdexec;
# Configure
cmake -S . -B build -GNinja \
-DSTDEXEC_ENABLE_IO_URING_TESTS=OFF \
-DSTDEXEC_ENABLE_CUDA=ON \
-DCMAKE_CXX_COMPILER="$cxx" \
-DCMAKE_CUDA_COMPILER="$cxx" \
-DCMAKE_CUDA_ARCHITECTURES=${{ matrix.sm }};
-DCMAKE_BUILD_TYPE:STRING=${{ matrix.build }} \
-DSTDEXEC_ENABLE_IO_URING_TESTS:BOOL=OFF \
-DSTDEXEC_ENABLE_CUDA:BOOL=ON \
-DCMAKE_CXX_COMPILER:FILEPATH="$cxx" \
-DCMAKE_CUDA_COMPILER:FILEPATH="$cxx" \
-DCMAKE_CUDA_ARCHITECTURES:STRING=${{ matrix.sm }};
# Compile
cmake --build build;
# Tests
Expand Down

0 comments on commit 5194525

Please sign in to comment.