feat: add a Vc SoA implementation for transform3 #426
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Algebra plugins library, part of the ACTS project (R&D line) | |
# | |
# (c) 2021-2023 CERN for the benefit of the ACTS project | |
# | |
# Mozilla Public License Version 2.0 | |
name: Builds | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
# All the different build/test jobs. | |
jobs: | |
# Native build jobs. | |
native: | |
# The different build modes to test. | |
strategy: | |
matrix: | |
BUILD_TYPE: ["Release", "Debug"] | |
PLATFORM: | |
- OS: "ubuntu-latest" | |
GENERATOR: "Unix Makefiles" | |
- OS: "macos-latest" | |
GENERATOR: "Xcode" | |
- OS: "windows-latest" | |
GENERATOR: "Visual Studio 17 2022" | |
# The system to run on. | |
runs-on: ${{ matrix.PLATFORM.OS }} | |
# The build/test steps to execute. | |
steps: | |
# Use a standard checkout of the code. | |
- uses: actions/checkout@v2 | |
# Run the CMake configuration. | |
- name: Configure | |
run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} | |
-DALGEBRA_PLUGINS_INCLUDE_EIGEN=TRUE | |
-DALGEBRA_PLUGINS_SETUP_EIGEN3=TRUE | |
-DALGEBRA_PLUGINS_USE_SYSTEM_EIGEN3=FALSE | |
-DALGEBRA_PLUGINS_INCLUDE_VC=TRUE | |
-DALGEBRA_PLUGINS_SETUP_VC=TRUE | |
-DALGEBRA_PLUGINS_USE_SYSTEM_VC=FALSE | |
-DALGEBRA_PLUGINS_INCLUDE_VECMEM=TRUE | |
-DALGEBRA_PLUGINS_SETUP_VECMEM=TRUE | |
-DALGEBRA_PLUGINS_USE_SYSTEM_VECMEM=FALSE | |
-DALGEBRA_PLUGINS_INCLUDE_FASTOR=TRUE | |
-DALGEBRA_PLUGINS_SETUP_FASTOR=TRUE | |
-DALGEBRA_PLUGINS_USE_SYSTEM_FASTOR=FALSE | |
-DALGEBRA_PLUGINS_BUILD_BENCHMARKS=TRUE | |
-DALGEBRA_PLUGINS_FAIL_ON_WARNINGS=TRUE | |
-S ${{ github.workspace }} -B build | |
-G "${{ matrix.PLATFORM.GENERATOR }}" | |
# Perform the build. | |
- name: Build | |
run: cmake --build build --config ${{ matrix.BUILD_TYPE }} | |
# Run the unit test(s). | |
- name: Test | |
run: | | |
cd build | |
ctest --output-on-failure -C ${{ matrix.BUILD_TYPE }} | |
# Containerised build jobs. | |
container: | |
# The different build modes to test. | |
strategy: | |
matrix: | |
BUILD_TYPE: ["Release", "Debug"] | |
PLATFORM: | |
- NAME: "HOST" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_INCLUDE_EIGEN=TRUE -DALGEBRA_PLUGINS_SETUP_EIGEN3=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_EIGEN3=TRUE | |
- NAME: "HOST" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_INCLUDE_EIGEN=TRUE -DALGEBRA_PLUGINS_SETUP_EIGEN3=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_EIGEN3=FALSE | |
- NAME: "HOST" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_INCLUDE_SMATRIX=TRUE | |
- NAME: "HOST" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_INCLUDE_VC=TRUE -DALGEBRA_PLUGINS_SETUP_VC=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_VC=FALSE | |
- NAME: "HOST" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_INCLUDE_VECMEM=TRUE -DALGEBRA_PLUGINS_SETUP_VECMEM=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_VECMEM=FALSE | |
- NAME: "CUDA" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004_cuda:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_TEST_CUDA=TRUE -DALGEBRA_PLUGINS_INCLUDE_EIGEN=TRUE -DALGEBRA_PLUGINS_SETUP_EIGEN3=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_EIGEN3=FALSE -DALGEBRA_PLUGINS_INCLUDE_VECMEM=TRUE -DALGEBRA_PLUGINS_SETUP_VECMEM=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_VECMEM=FALSE | |
- NAME: "SYCL" | |
CONTAINER: "ghcr.io/acts-project/ubuntu2004_oneapi:v13" | |
OPTIONS: -DALGEBRA_PLUGINS_TEST_SYCL=TRUE -DALGEBRA_PLUGINS_INCLUDE_EIGEN=TRUE -DALGEBRA_PLUGINS_SETUP_EIGEN3=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_EIGEN3=FALSE -DALGEBRA_PLUGINS_INCLUDE_VECMEM=TRUE -DALGEBRA_PLUGINS_SETUP_VECMEM=TRUE -DALGEBRA_PLUGINS_USE_SYSTEM_VECMEM=FALSE | |
# The system to run on. | |
runs-on: ubuntu-latest | |
container: ${{ matrix.PLATFORM.CONTAINER }} | |
# Use BASH as the shell from the image. | |
defaults: | |
run: | |
shell: bash | |
# The build/test steps to execute. | |
steps: | |
# Use a standard checkout of the code. | |
- uses: actions/checkout@v2 | |
# Run the CMake configuration. | |
- name: Configure | |
run: | | |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.PLATFORM.NAME }} | |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} ${{ matrix.PLATFORM.OPTIONS }} -DALGEBRA_PLUGINS_BUILD_BENCHMARKS=TRUE -DALGEBRA_PLUGINS_FAIL_ON_WARNINGS=TRUE -S ${GITHUB_WORKSPACE} -B build | |
# Perform the build. | |
- name: Build | |
run: | | |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.PLATFORM.NAME }} | |
cmake --build build | |
# Run the unit test(s). | |
- name: Test | |
if: "matrix.PLATFORM.NAME != 'CUDA'" | |
run: | | |
cd build | |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.PLATFORM.NAME }} | |
ctest --output-on-failure |