Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2022-2024 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Sycl include(s).
0011 #include <sycl/sycl.hpp>
0012 
0013 namespace traccc::sycl::details {
0014 
0015 /// Function that calculates 1 dim nd range for sycl kernel execution
0016 ///
0017 /// @param[in] globalSize       The global execution range of the kernel
0018 /// @param[in] localSize        Desired Work group size of the kernel
0019 /// @return                     The 1 dim sycl nd_range object
0020 ///
0021 ::sycl::nd_range<1> calculate1DimNdRange(const std::size_t globalSize,
0022                                          const std::size_t localSize);
0023 
0024 }  // namespace traccc::sycl::details