Warning, /acts/Traccc/examples/run/hip/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # This file is part of the ACTS project.
0002 #
0003 # Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 #
0005 # This Source Code Form is subject to the terms of the Mozilla Public
0006 # License, v. 2.0. If a copy of the MPL was not distributed with this
0007 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008
0009 # External(s).
0010 find_package(HIPToolkit REQUIRED)
0011
0012 #
0013 # Set up the "throughput applications".
0014 #
0015 traccc_add_library( traccc_examples_hip examples_hip SHARED
0016 "include/traccc/examples/hip/full_chain_algorithm.hpp"
0017 "src/full_chain_algorithm.cpp"
0018 "include/traccc/examples/hip/tbb_await.hpp"
0019 "src/tbb_await.cpp"
0020 )
0021 target_link_libraries(
0022 traccc_examples_hip
0023 PUBLIC
0024 HIP::hiprt
0025 vecmem::core
0026 vecmem::hip
0027 detray::core
0028 detray::detectors
0029 traccc::core
0030 traccc::device_common
0031 traccc::hip_utils
0032 traccc::hip
0033 traccc::examples_common
0034 PRIVATE TBB::tbb
0035 )
0036
0037 traccc_add_executable( throughput_st_hip "apps/throughput_st.cpp"
0038 LINK_LIBRARIES vecmem::core vecmem::hip
0039 detray::detectors detray::io traccc::io traccc::performance
0040 traccc::core traccc::device_common traccc::hip_utils traccc::hip
0041 traccc::options traccc::examples_hip
0042 )
0043
0044 traccc_add_executable( throughput_mt_hip "apps/throughput_mt.cpp"
0045 LINK_LIBRARIES TBB::tbb vecmem::core vecmem::hip
0046 detray::detectors detray::io traccc::io traccc::performance
0047 traccc::core traccc::device_common traccc::hip_utils traccc::hip
0048 traccc::options traccc::examples_hip
0049 )