Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0008 // Local include(s).
0009 #include "../../utils/cuda_error_handling.hpp"
0010 #include "../../utils/global_index.hpp"
0011 #include "./fit_prelude.hpp"
0012 
0013 // Project include(s).
0014 #include "traccc/fitting/device/fit_prelude.hpp"
0015 
0016 namespace traccc::cuda {
0017 namespace kernels {
0018 
0019 __global__ void fit_prelude(const device::fit_prelude_payload payload) {
0020   device::fit_prelude(details::global_index1(), payload);
0021 }
0022 
0023 }  // namespace kernels
0024 
0025 void fit_prelude(const dim3& grid_size, const dim3& block_size,
0026                  std::size_t shared_mem_size, const cudaStream_t& stream,
0027                  const device::fit_prelude_payload& payload) {
0028   kernels::fit_prelude<<<grid_size, block_size, shared_mem_size, stream>>>(
0029       payload);
0030   TRACCC_CUDA_ERROR_CHECK(cudaGetLastError());
0031 }
0032 
0033 }  // namespace traccc::cuda