Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /acts/Traccc/device/cuda/src/finding/kernels/create_device_detector.cuh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2026 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // CUDA include(s).
0011 #include <cuda_runtime.h>
0012 
0013 namespace traccc::cuda {
0014 
0015 /// Construct the device detector in place, in global memory
0016 ///
0017 /// The detector is built once rather than in every thread, so that the
0018 /// propagation kernels only carry a pointer to it.
0019 ///
0020 /// @param stream The stream to launch the kernel on
0021 /// @param in     View of the detector to build from
0022 /// @param out    Global memory to construct the detector into
0023 ///
0024 template <typename detector_t>
0025 void create_device_detector(const cudaStream_t& stream,
0026                             typename detector_t::const_view_type in,
0027                             detector_t* out);
0028 
0029 }  // namespace traccc::cuda