File indexing completed on 2026-07-26 08:22:12
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "traccc/hip/utils/algorithm_base.hpp"
0010
0011 #include "../utils/utils.hpp"
0012
0013 namespace traccc::hip {
0014
0015 algorithm_base::algorithm_base(hip::stream& str)
0016 : m_stream(str), m_warp_size(details::get_warp_size(str.device())) {}
0017
0018 hip::stream& algorithm_base::stream() const {
0019 return m_stream.get();
0020 }
0021
0022 unsigned int algorithm_base::warp_size() const {
0023 return m_warp_size;
0024 }
0025
0026 }