Warning, /acts/Traccc/device/hip/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) 2025-2026 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # Enable HIP as a language.
0008 enable_language(HIP)
0009
0010 # Project include(s).
0011 include(traccc-compiler-options-cpp)
0012 include(traccc-compiler-options-hip)
0013
0014 # Find HIP/ROCm toolchain.
0015 find_package(HIPToolkit REQUIRED)
0016
0017 # Set up the build of the traccc::hip library.
0018 traccc_add_library( traccc_hip hip TYPE SHARED
0019 # Utility code.
0020 "include/traccc/hip/utils/algorithm_base.hpp"
0021 "src/utils/algorithm_base.cpp"
0022 "include/traccc/hip/utils/stream.hpp"
0023 "src/utils/stream.cpp"
0024 "src/utils/opaque_stream.hpp"
0025 "src/utils/opaque_stream.cpp"
0026 "src/utils/hip_error_handling.hpp"
0027 "src/utils/hip_error_handling.cpp"
0028 "src/utils/utils.hpp"
0029 "src/utils/utils.cpp"
0030 # Clusterization code.
0031 "include/traccc/hip/clusterization/clusterization_algorithm.hpp"
0032 "src/clusterization/clusterization_algorithm.hip"
0033 "src/clusterization/kernels/ccl_kernel.hpp"
0034 "src/clusterization/kernels/ccl_kernel.hip"
0035 "src/clusterization/kernels/reify_cluster_data.hpp"
0036 "src/clusterization/kernels/reify_cluster_data.hip"
0037 )
0038 target_link_libraries(
0039 traccc_hip
0040 PUBLIC traccc::core vecmem::core
0041 PRIVATE HIP::hiprt traccc::device_common
0042 )