1 # Test goal: build with hipSYCL (both CUDA and ROCm backends) to check SYCL code compatibility
2 # Test intents (should change rarely and conservatively):
3 # OS: Ubuntu newest supported
4 # Compiler: Clang newest supported
6 # Scope: configure, build
7 # Test implementation choices (free to change as needed):
9 # Build type: RelWithAssert
14 gromacs:hipsycl-dev:configure:
16 - .gromacs:base:configure
19 - .rules:merge-and-post-merge-acceptance
20 image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-11-cuda-11.2.1-hipsycl-2bc21b677a
22 CMAKE: /usr/local/cmake-3.18.4/bin/cmake
23 CMAKE_SIMD_OPTIONS: "-DGMX_SIMD=AVX2_256"
24 CMAKE_BUILD_TYPE_OPTIONS: "-DCMAKE_BUILD_TYPE=RelWithAssert"
25 CMAKE_GPU_OPTIONS: "-DGMX_GPU=SYCL -DGMX_SYCL_HIPSYCL=ON -DHIPSYCL_TARGETS='cuda:sm_60,sm_61,sm_70,sm_75;hip:gfx900'"
26 # Unset COMPILER_LAUNCHER (previously set to ccache) because it conflicts with hipSYCL's syclcc-launcher
27 CMAKE_EXTRA_OPTIONS: "-DCMAKE_C_COMPILER_LAUNCHER= -DCMAKE_CXX_COMPILER_LAUNCHER="
28 COMPILER_MAJOR_VERSION: 11
30 gromacs:hipsycl-dev:build:
34 - .before_script:default
35 # Not using ccache because it plays poorly with syclcc-launcher
36 - .rules:merge-and-post-merge-acceptance
37 image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-11-cuda-11.2.1-hipsycl-2bc21b677a
39 CMAKE: /usr/local/cmake-3.18.4/bin/cmake
43 - job: gromacs:hipsycl-dev:configure