Skip to content

Commit

Permalink
GitLab-CI: Add test for Clang as CUDA Compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Jun 8, 2020
1 parent b4f9fc0 commit 3d9fd78
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 10 deletions.
53 changes: 43 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,68 @@ include:
cuda92:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda9.2
variables:
CUPLA_BOOST_VERSIONS: "1.65.1 1.70.0 1.73.0"
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda

cuda100:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda10.0
variables:
CUPLA_BOOST_VERSIONS: 1.73.0
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda

cuda101:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda10.1
variables:
CUPLA_BOOST_VERSIONS: 1.73.0
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda

cuda102:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda10.2
variables:
CUPLA_BOOST_VERSIONS: 1.73.0
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda

gcc7:
gcc1:
variables:
CUPLA_CXX: "g++-5 g++-7 g++-9"
CUPLA_BOOST_VERSIONS: "1.65.1 1.70.0 1.73.0"
CUPLA_CXX: "g++-5 g++-8 g++-7 g++8 g++-9"
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0"
extends: .base_gcc

clang7:
gcc2:
variables:
CUPLA_CXX: "clang++-5.0 clang++-7 clang++-9"
CUPLA_BOOST_VERSIONS: "1.65.1 1.70.0 1.73.0"
CUPLA_CXX: "g++-5 g++-8 g++-7 g++8 g++-9"
CUPLA_BOOST_VERSIONS: "1.68.0 1.69.0 1.70.0"
extends: .base_gcc

gcc3:
variables:
CUPLA_CXX: "g++-5 g++-8 g++-7 g++8 g++-9"
CUPLA_BOOST_VERSIONS: "1.71.0 1.72.0 1.73.0"
extends: .base_gcc

clang:
variables:
CUPLA_CXX: "clang++-5.0 clang++-6.0 clang++-7 clang++-8 clang++-9 clang++-10"
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_clang

cudaClang92:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda9.2Clang
variables:
CUPLA_CXX: "clang++-7 clang++-8 clang++-9 clang++-10"
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda_clang

cudaClang100:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda10.0Clang
variables:
CUPLA_CXX: "clang++-8 clang++-9 clang++-10"
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda_clang

cudaClang101:
image: registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci:cuda10.1Clang
variables:
CUPLA_CXX: "clang++-9 clang++-10"
CUPLA_BOOST_VERSIONS: "1.65.1 1.66.0 1.67.0 1.68.0 1.69.0 1.70.0 1.71.0 1.72.0 1.73.0"
extends: .base_cuda_clang
14 changes: 14 additions & 0 deletions script/compiler_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,17 @@
tags:
- cuda
- intel

.base_cuda_clang:
variables:
GIT_SUBMODULE_STRATEGY: normal
ALPAKA_ACCS: "ALPAKA_ACC_GPU_CUDA_ENABLE"
CUPLA_CMAKE_ARGS: "-DALPAKA_CUDA_COMPILER=clang"
before_script:
- nvidia-smi
- nvcc --version
script:
- source script/run_test.sh
tags:
- cuda
- intel

0 comments on commit 3d9fd78

Please sign in to comment.