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) 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 "traccc/cuda/utils/algorithm_base.hpp"
0010 
0011 #include "../utils/utils.hpp"
0012 
0013 namespace traccc::cuda {
0014 
0015 algorithm_base::algorithm_base(const stream_wrapper& str)
0016     : m_stream(str), m_warp_size(details::get_warp_size(str.device())) {}
0017 
0018 const stream_wrapper& algorithm_base::stream() const {
0019   return m_stream;
0020 }
0021 
0022 unsigned int algorithm_base::warp_size() const {
0023   return m_warp_size;
0024 }
0025 
0026 }  // namespace traccc::cuda