Warning, /acts/Traccc/device/sycl/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-2026 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # We need the SYCL language in this directory.
0008 include(vecmem-check-language)
0009 vecmem_check_language( SYCL )
0010 enable_language(SYCL)
0011
0012 # Project include(s).
0013 include(traccc-compiler-options-cpp)
0014 include(traccc-compiler-options-sycl)
0015
0016 # Set up the build of the traccc::sycl library.
0017 traccc_add_library( traccc_sycl sycl TYPE SHARED
0018 # Clusterization algorithm(s).
0019 "include/traccc/sycl/clusterization/clusterization_algorithm.hpp"
0020 "src/clusterization/clusterization_algorithm.sycl"
0021 "include/traccc/sycl/clusterization/measurement_sorting_algorithm.hpp"
0022 "src/clusterization/measurement_sorting_algorithm.sycl"
0023 # Seeding algorithm(s).
0024 "include/traccc/sycl/seeding/silicon_pixel_spacepoint_formation_algorithm.hpp"
0025 "src/seeding/silicon_pixel_spacepoint_formation_algorithm.sycl"
0026 "include/traccc/sycl/seeding/triplet_seeding_algorithm.hpp"
0027 "src/seeding/triplet_seeding_algorithm.sycl"
0028 "include/traccc/sycl/seeding/seed_parameter_estimation_algorithm.hpp"
0029 "src/seeding/seed_parameter_estimation_algorithm.sycl"
0030 # GBTS seeding algorithm(s).
0031 "include/traccc/sycl/gbts_seeding/gbts_seeding_algorithm.hpp"
0032 "src/gbts_seeding/gbts_seeding_algorithm.sycl"
0033 # Track finding algorithm(s).
0034 "include/traccc/sycl/finding/combinatorial_kalman_filter_algorithm.hpp"
0035 "src/finding/combinatorial_kalman_filter_algorithm.cpp"
0036 "src/finding/combinatorial_kalman_filter_algorithm.sycl"
0037 # Track fitting algorithm(s).
0038 "include/traccc/sycl/fitting/kalman_fitting_algorithm.hpp"
0039 "src/fitting/kalman_fitting_algorithm.cpp"
0040 "src/fitting/kalman_fitting_algorithm.sycl"
0041 # Utilities.
0042 "include/traccc/sycl/utils/algorithm_base.hpp"
0043 "src/utils/algorithm_base.sycl"
0044 "src/utils/magnetic_field_types.hpp"
0045 "src/utils/barrier.hpp"
0046 "src/utils/calculate1DimNdRange.hpp"
0047 "src/utils/calculate1DimNdRange.sycl"
0048 "src/utils/get_queue.hpp"
0049 "src/utils/get_queue.sycl"
0050 "src/utils/thread_id.hpp"
0051 "src/utils/oneDPL.hpp"
0052 "src/sanity/contiguous_on.hpp"
0053 "src/sanity/ordered_on.hpp"
0054 )
0055 target_link_libraries(
0056 traccc_sycl
0057 PUBLIC
0058 detray::core
0059 vecmem::core
0060 traccc::core
0061 traccc::device_common
0062 traccc::sycl_utils
0063 PRIVATE vecmem::sycl covfie::sycl oneDPL
0064 )
0065
0066 # Set up Thrust specifically for the traccc::sycl library.
0067 thrust_create_target( traccc::sycl_thrust
0068 HOST CPP
0069 DEVICE CPP
0070 )
0071 target_link_libraries(traccc_sycl PRIVATE traccc::sycl_thrust)