2023-07-24 19:54:11 +00:00
|
|
|
##=============================================================================
|
|
|
|
##
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
|
|
|
##
|
|
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
|
|
##
|
|
|
|
##=============================================================================
|
|
|
|
|
2020-06-16 12:54:01 +00:00
|
|
|
build:ubuntu2004_kokkos:
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2020-06-16 12:54:01 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004_kokkos
|
|
|
|
- .cmake_build_linux
|
2021-10-18 18:36:16 +00:00
|
|
|
- .run_automatically
|
2020-06-16 12:54:01 +00:00
|
|
|
variables:
|
|
|
|
CMAKE_BUILD_TYPE: RelWithDebInfo
|
2023-01-31 02:38:09 +00:00
|
|
|
CMAKE_PREFIX_PATH: "/opt/anari"
|
|
|
|
VTKM_SETTINGS: "kokkos+shared+64bit_floats+rendering+anari"
|
2020-06-16 12:54:01 +00:00
|
|
|
|
|
|
|
test:ubuntu2004_kokkos:
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2020-06-16 12:54:01 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004_kokkos
|
|
|
|
- .cmake_test_linux
|
2021-10-18 18:36:16 +00:00
|
|
|
- .run_automatically
|
2020-06-16 12:54:01 +00:00
|
|
|
dependencies:
|
|
|
|
- build:ubuntu2004_kokkos
|
|
|
|
needs:
|
|
|
|
- build:ubuntu2004_kokkos
|
2021-10-13 19:40:52 +00:00
|
|
|
|
|
|
|
build:ubuntu2004_hip_kokkos:
|
|
|
|
tags:
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2021-10-13 19:40:52 +00:00
|
|
|
- radeon
|
|
|
|
extends:
|
|
|
|
- .ubuntu2004_hip_kokkos
|
|
|
|
- .cmake_build_linux
|
2022-09-29 19:19:08 +00:00
|
|
|
- .run_automatically
|
2021-10-13 19:40:52 +00:00
|
|
|
variables:
|
2022-10-25 19:39:23 +00:00
|
|
|
CMAKE_BUILD_TYPE: "RelWithDebInfo"
|
2022-11-07 16:13:26 +00:00
|
|
|
VTKM_SETTINGS: "benchmarks+kokkos+hip+no_rendering+ccache"
|
2022-06-27 15:41:45 +00:00
|
|
|
|
2022-10-25 19:39:23 +00:00
|
|
|
CMAKE_PREFIX_PATH: "/opt/rocm/lib/cmake"
|
2022-11-08 19:31:07 +00:00
|
|
|
LD_LIBRARY_PATH: "/opt/rocm/lib"
|
2022-10-25 19:39:23 +00:00
|
|
|
CMAKE_HIP_COMPILER: "/opt/rocm/llvm/bin/clang++"
|
|
|
|
Kokkos_CXX_COMPILER: "/opt/rocm/llvm/bin/clang++"
|
|
|
|
CMAKE_HIP_ARCHITECTURES: "gfx900"
|
2022-06-27 15:41:45 +00:00
|
|
|
|
|
|
|
# -isystem= is not affected by CCACHE_BASEDIR, thus we must ignore it
|
2022-10-25 19:39:23 +00:00
|
|
|
CCACHE_IGNOREOPTIONS: "-isystem=*"
|
|
|
|
CCACHE_BASEDIR: "$CI_PROJECT_DIR"
|
|
|
|
CCACHE_COMPILERCHECK: "content"
|
|
|
|
CCACHE_NOHASHDIR: "true"
|
|
|
|
CCACHE_RESHARE: "true"
|
2022-06-27 15:41:45 +00:00
|
|
|
after_script:
|
|
|
|
- ccache -v -s
|
|
|
|
- ccache -z
|
2021-10-13 19:40:52 +00:00
|
|
|
|
|
|
|
test:ubuntu2004_hip_kokkos:
|
|
|
|
tags:
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2021-10-13 19:40:52 +00:00
|
|
|
- radeon
|
|
|
|
extends:
|
|
|
|
- .ubuntu2004_hip_kokkos
|
|
|
|
- .cmake_test_linux
|
2022-08-05 02:00:00 +00:00
|
|
|
- .run_upstream_branches
|
2021-10-13 19:40:52 +00:00
|
|
|
variables:
|
2022-09-23 22:21:14 +00:00
|
|
|
CTEST_MAX_PARALLELISM: 1
|
2024-02-08 20:10:05 +00:00
|
|
|
CTEST_EXCLUSIONS: "UnitTestWorkletParticleAdvection"
|
2021-10-13 19:40:52 +00:00
|
|
|
dependencies:
|
|
|
|
- build:ubuntu2004_hip_kokkos
|
|
|
|
needs:
|
|
|
|
- build:ubuntu2004_hip_kokkos
|
2021-10-15 16:24:33 +00:00
|
|
|
timeout: 3 hours
|