Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU CI Updates, main branch (2024.05.31.) #603

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/ci_setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TRACCC library, part of the ACTS project (R&D line)
#
# (c) 2022-2023 CERN for the benefit of the ACTS project
# (c) 2022-2024 CERN for the benefit of the ACTS project
#
# Mozilla Public License Version 2.0
#
Expand All @@ -13,6 +13,14 @@
# The platform name.
PLATFORM_NAME=$1

# Make sure that GNU Make and CTest would use all available cores.
export MAKEFLAGS="-j`nproc`"
export CTEST_PARALLEL_LEVEL=`nproc`
# Make sure that the build and CTest would use all available cores.
export CMAKE_BUILD_PARALLEL_LEVEL=`nproc`
export CTEST_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL}
export MAKEFLAGS="-j${CMAKE_BUILD_PARALLEL_LEVEL}"

# Set up the correct environment for the SYCL tests.
if [ "${PLATFORM_NAME}" = "SYCL" ]; then
if [ -f "/opt/intel/oneapi/setvars.sh" ]; then
source /opt/intel/oneapi/setvars.sh --include-intel-llvm
fi
fi
20 changes: 9 additions & 11 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TRACCC library, part of the ACTS project (R&D line)
#
# (c) 2021-2023 CERN for the benefit of the ACTS project
# (c) 2021-2024 CERN for the benefit of the ACTS project
#
# Mozilla Public License Version 2.0

Expand Down Expand Up @@ -31,11 +31,14 @@ jobs:
container: ghcr.io/acts-project/ubuntu2004:v30
options: -DTRACCC_USE_ROOT=FALSE
- name: HIP
container: ghcr.io/acts-project/ubuntu2004_rocm:v42
container: ghcr.io/acts-project/ubuntu2004_rocm:47
options: -DTRACCC_BUILD_HIP=TRUE -DTRACCC_SETUP_ROCTHRUST=TRUE
- name: CUDA
container: ghcr.io/acts-project/ubuntu2004_cuda:v30
options: -DTRACCC_BUILD_CUDA=TRUE
container: ghcr.io/acts-project/ubuntu2004_cuda:47
options: -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_ENABLE_NVTX_PROFILING=TRUE
- name: SYCL
container: ghcr.io/acts-project/ubuntu2004_oneapi:47
options: -DTRACCC_BUILD_SYCL=TRUE
- name: KOKKOS
container: ghcr.io/acts-project/ubuntu2004:v30
options: -DTRACCC_BUILD_KOKKOS=TRUE
Expand All @@ -48,19 +51,14 @@ jobs:
include:
- platform:
name: "SYCL"
container: "ghcr.io/acts-project/ubuntu2004_cuda_oneapi:v37"
container: ghcr.io/acts-project/ubuntu2004_cuda_oneapi:47
options: -DTRACCC_BUILD_SYCL=TRUE -DTRACCC_BUILD_CUDA=FALSE -DVECMEM_BUILD_CUDA_LIBRARY=FALSE
build: Release
- platform:
name: "SYCL"
container: "ghcr.io/acts-project/ubuntu2004_rocm_oneapi:v37"
container: ghcr.io/acts-project/ubuntu2004_rocm_oneapi:47
options: -DTRACCC_BUILD_SYCL=TRUE -DVECMEM_BUILD_HIP_LIBRARY=FALSE
build: Release
- platform:
name: "CUDA"
container: ghcr.io/acts-project/ubuntu2004_cuda:v30
options: -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_ENABLE_NVTX_PROFILING=TRUE
build: Release
# Use BASH as the shell from the images.
defaults:
run:
Expand Down
Loading