Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: acts-project/detray
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 154f0adcf8f3a345c31a8fec8b65d692a3efdf5c
Choose a base ref
..
head repository: acts-project/detray
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 405ad1e4f07d599639f562dfda2a96df2a2bc9e2
Choose a head ref
Showing with 23 additions and 28 deletions.
  1. +23 −28 tutorials/src/device/cuda/CMakeLists.txt
51 changes: 23 additions & 28 deletions tutorials/src/device/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
#Detray library, part of the ACTS project(R& D line)
# Detray library, part of the ACTS project (R&D line)
#
#(c) 2021 - 2023 CERN for the benefit of the ACTS project
# (c) 2021-2023 CERN for the benefit of the ACTS project
#
#Mozilla Public License Version 2.0
# Mozilla Public License Version 2.0

#C++ 17 support for CUDA requires CMake 3.18.
# C++17 support for CUDA requires CMake 3.18.
cmake_minimum_required(VERSION 3.18)

#Enable CUDA as a language.
enable_language(CUDA)
# Enable CUDA as a language.
enable_language(CUDA)

#Set the CUDA build flags.
include(detray - compiler - options - cuda)
# Set the CUDA build flags.
include(detray-compiler-options-cuda)

#Examples using the array algebra plugin.
detray_add_tutorial(detector_construction_cuda
"detector_construction.cpp"
"detector_construction.hpp"
"detector_construction.cu" LINK_LIBRARIES
vecmem::cuda detray::core_array covfie::core
detray::tutorial detray::utils)
target_compile_definitions(
detray_tutorial_detector_construction_cuda PRIVATE array =
array)
# Examples using the array algebra plugin.
detray_add_tutorial( detector_construction_cuda
"detector_construction.cpp"
"detector_construction.hpp"
"detector_construction.cu"
LINK_LIBRARIES vecmem::cuda detray::core_array covfie::core
detray::tutorial detray::utils)
target_compile_definitions(detray_tutorial_detector_construction_cuda PRIVATE array=array)

detray_add_tutorial(
propagation_cuda
"propagation.cpp"
"propagation.hpp"
"propagation_kernel.cu" LINK_LIBRARIES vecmem::cuda
detray::core_array covfie::core covfie::cuda
detray::tutorial detray::utils)
target_compile_definitions(
detray_tutorial_propagation_cuda PRIVATE array =
array)
detray_add_tutorial( propagation_cuda
"propagation.cpp"
"propagation.hpp"
"propagation_kernel.cu"
LINK_LIBRARIES vecmem::cuda detray::core_array covfie::core covfie::cuda
detray::tutorial detray::utils)
target_compile_definitions(detray_tutorial_propagation_cuda PRIVATE array=array)