RISA
glados::cuda::async_copy_policy Class Reference

#include <Memory.h>

Public Member Functions

auto set_stream (cudaStream_t s) noexcept-> void
 
auto stream () const noexcept-> cudaStream_t
 

Protected Member Functions

 async_copy_policy ()
 
 ~async_copy_policy ()=default
 
template<class Dest , class Src >
auto copy (Dest &dest, const Src &src, std::size_t size) const -> void
 
template<class Dest , class Src >
auto copy (Dest &dest, const Src &src, std::size_t width, std::size_t height) const -> void
 
template<class Dest , class Src >
auto copy (Dest &dest, const Src &src, std::size_t width, std::size_t height, std::size_t depth) const -> void
 

Private Attributes

cudaStream_t stream_
 

Detailed Description

Definition at line 193 of file Memory.h.

Constructor & Destructor Documentation

glados::cuda::async_copy_policy::async_copy_policy ( )
inlineprotected

Definition at line 207 of file Memory.h.

glados::cuda::async_copy_policy::~async_copy_policy ( )
protecteddefault

Member Function Documentation

template<class Dest , class Src >
auto glados::cuda::async_copy_policy::copy ( Dest &  dest,
const Src &  src,
std::size_t  size 
) const -> void
inlineprotected

Definition at line 215 of file Memory.h.

template<class Dest , class Src >
auto glados::cuda::async_copy_policy::copy ( Dest &  dest,
const Src &  src,
std::size_t  width,
std::size_t  height 
) const -> void
inlineprotected

Definition at line 223 of file Memory.h.

template<class Dest , class Src >
auto glados::cuda::async_copy_policy::copy ( Dest &  dest,
const Src &  src,
std::size_t  width,
std::size_t  height,
std::size_t  depth 
) const -> void
inlineprotected

Definition at line 233 of file Memory.h.

auto glados::cuda::async_copy_policy::set_stream ( cudaStream_t  s) -> void
inlinenoexcept

Definition at line 196 of file Memory.h.

auto glados::cuda::async_copy_policy::stream ( ) const -> cudaStream_t
inlinenoexcept

Definition at line 201 of file Memory.h.

Member Data Documentation

cudaStream_t glados::cuda::async_copy_policy::stream_
private

Definition at line 246 of file Memory.h.


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