Public Types | Public Member Functions | List of all members
raft_proto::detail::owning_buffer< device_type::gpu, T > Struct Template Reference

#include <gpu.hpp>

Collaboration diagram for raft_proto::detail::owning_buffer< device_type::gpu, T >:
Collaboration graph

Public Types

using value_type = std::remove_const_t< T >
 

Public Member Functions

 owning_buffer ()
 
 owning_buffer (device_id< device_type::gpu > device_id, std::size_t size, cudaStream_t stream) noexcept(false)
 
auto * get () const
 

Member Typedef Documentation

◆ value_type

template<typename T >
using raft_proto::detail::owning_buffer< device_type::gpu, T >::value_type = std::remove_const_t<T>

Constructor & Destructor Documentation

◆ owning_buffer() [1/2]

template<typename T >
raft_proto::detail::owning_buffer< device_type::gpu, T >::owning_buffer ( )
inline

◆ owning_buffer() [2/2]

template<typename T >
raft_proto::detail::owning_buffer< device_type::gpu, T >::owning_buffer ( device_id< device_type::gpu device_id,
std::size_t  size,
cudaStream_t  stream 
)
inlinenoexcept

Member Function Documentation

◆ get()

template<typename T >
auto* raft_proto::detail::owning_buffer< device_type::gpu, T >::get ( ) const
inline

The documentation for this struct was generated from the following file: