Warning, /acts/Traccc/examples/run/cuda/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # TRACCC library, part of the ACTS project (R&D line)
0002 #
0003 # (c) 2021-2025 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # Project include(s).
0008 include(traccc-compiler-options-cuda)
0009
0010 # External(s).
0011 find_package(CUDAToolkit REQUIRED)
0012
0013 #
0014 # Set up the "throughput applications".
0015 #
0016 traccc_add_library( traccc_examples_cuda examples_cuda SHARED
0017 "include/traccc/examples/cuda/full_chain_algorithm.hpp"
0018 "src/full_chain_algorithm.cpp"
0019 )
0020 target_link_libraries(
0021 traccc_examples_cuda
0022 PUBLIC
0023 CUDA::cudart
0024 vecmem::core
0025 vecmem::cuda
0026 detray::core
0027 detray::detectors
0028 traccc::core
0029 traccc::device_common
0030 traccc::cuda_utils
0031 traccc::cuda
0032 traccc::examples_common
0033 )
0034
0035 traccc_add_executable( throughput_st_cuda "apps/throughput_st.cpp"
0036 LINK_LIBRARIES vecmem::core vecmem::cuda
0037 detray::detectors detray::io traccc::io traccc::performance
0038 traccc::core traccc::device_common traccc::cuda_utils traccc::cuda
0039 traccc::options traccc::examples_cuda
0040 )
0041
0042 traccc_add_executable( throughput_mt_cuda "apps/throughput_mt.cpp"
0043 LINK_LIBRARIES TBB::tbb vecmem::core vecmem::cuda
0044 detray::detectors detray::io traccc::io traccc::performance
0045 traccc::core traccc::device_common traccc::cuda_utils traccc::cuda
0046 traccc::options traccc::examples_cuda
0047 )
0048 traccc_add_executable( seq_example_cuda "apps/seq_example_cuda.cpp"
0049 LINK_LIBRARIES vecmem::core vecmem::cuda traccc::io traccc::performance
0050 traccc::core traccc::device_common traccc::cuda_utils traccc::cuda
0051 traccc::options detray::detectors detray::io
0052 traccc::examples_common
0053 )
0054 traccc_add_executable( seeding_example_cuda "apps/seeding_example_cuda.cpp"
0055 LINK_LIBRARIES vecmem::core vecmem::cuda traccc::io traccc::performance
0056 traccc::core traccc::device_common traccc::cuda_utils traccc::cuda
0057 traccc::options traccc::examples_common
0058 )
0059 traccc_add_executable( truth_finding_example_cuda "apps/truth_finding_example_cuda.cpp"
0060 LINK_LIBRARIES vecmem::core vecmem::cuda traccc::io traccc::performance
0061 traccc::core traccc::device_common traccc::cuda_utils traccc::cuda
0062 traccc::options traccc::examples_common
0063 )
0064 traccc_add_executable( truth_fitting_example_cuda "apps/truth_fitting_example_cuda.cpp"
0065 LINK_LIBRARIES vecmem::core vecmem::cuda traccc::io traccc::performance
0066 traccc::core traccc::device_common traccc::cuda_utils traccc::cuda
0067 traccc::options traccc::examples_common
0068 )