Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:22:10

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2024-2026 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 // Local include(s).
0009 #include "../../utils/global_index.hpp"
0010 #include "condense_tracks.cuh"
0011 
0012 // Project include(s).
0013 #include "traccc/finding/device/condense_tracks.hpp"
0014 
0015 namespace traccc::cuda {
0016 namespace kernels {
0017 
0018 __global__ void condense_tracks(
0019     const __grid_constant__ device::condense_tracks_payload payload) {
0020   device::condense_tracks(details::global_index1(), payload);
0021 }
0022 
0023 }  // namespace kernels
0024 
0025 void condense_tracks(const dim3& grid_size, const dim3& block_size,
0026                      std::size_t shared_mem_size, const cudaStream_t& stream,
0027                      const device::condense_tracks_payload& payload) {
0028   kernels::condense_tracks<<<grid_size, block_size, shared_mem_size, stream>>>(
0029       payload);
0030 }
0031 }  // namespace traccc::cuda