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) 2022-2026 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Local include(s).
0011 #include "traccc/cuda/utils/stream_wrapper.hpp"
0012 
0013 // CUDA include(s).
0014 #include <cuda_runtime_api.h>
0015 
0016 namespace traccc::cuda::details {
0017 
0018 /// Get the warp size for a given device.
0019 ///
0020 /// @param device The device to query.
0021 ///
0022 /// @return The warp size for the device.
0023 ///
0024 unsigned int get_warp_size(int device);
0025 
0026 /// Get concrete @c cudaStream_t object out of our wrapper
0027 cudaStream_t get_stream(const stream_wrapper& str);
0028 
0029 }  // namespace traccc::cuda::details