RISA
glados::cuda::detail Namespace Reference

Classes

struct  copy_ftor
 
struct  device_deleter
 
struct  Direction
 
struct  Direction< Target::Device, Target::Device >
 
struct  Direction< Target::Device, Target::Host >
 
struct  Direction< Target::Host, Target::Device >
 
struct  Direction< Target::Host, Target::Host >
 
struct  host_deleter
 
class  unique_ptr
 

Typedefs

template<class T >
using unique_device_ptr = unique_ptr< T, device_deleter, Target::Device >
 
template<class T >
using unique_host_ptr = unique_ptr< T, host_deleter, Target::Host >
 

Enumerations

enum  Target { Target::Device, Target::Host }
 

Functions

auto checkCudaError (cudaError_t err, const char *file, int line) -> void
 
auto getCufftErrorString (cufftResult result) -> std::string
 
auto checkCufftError (cufftResult result, const char *file, int line) -> void
 
auto getCusparseErrorString (cusparseStatus_t stat) -> std::string
 
auto checkCusparseError (cusparseStatus_t stat, const char *file, int line) -> void
 
auto roundUp (std::uint32_t num, std::uint32_t multiple) -> std::uint32_t
 
template<class T1 , class D1 , Target t1, class T2 , class D2 , Target t2>
auto operator== (const unique_ptr< T1, D1, t2 > &x, const unique_ptr< T2, D2, t2 > &y) noexcept-> bool
 
template<class T1 , class D1 , Target t1, class T2 , class D2 , Target t2>
auto operator!= (const unique_ptr< T1, D1, t2 > &x, const unique_ptr< T2, D2, t2 > &y) noexcept-> bool
 
template<class T , class D , Target t>
auto operator== (const unique_ptr< T, D, t > &x, std::nullptr_t) noexcept-> bool
 
template<class T , class D , Target t>
auto operator== (std::nullptr_t, const unique_ptr< T, D, t > &x) noexcept-> bool
 
template<class T , class D , Target t>
auto operator!= (const unique_ptr< T, D, t > &x, std::nullptr_t) noexcept-> bool
 
template<class T , class D , Target t>
auto operator!= (std::nullptr_t, const unique_ptr< T, D, t > &x) noexcept-> bool
 

Typedef Documentation

Definition at line 114 of file Memory.h.

Definition at line 115 of file Memory.h.

Enumeration Type Documentation

Enumerator
Device 
Host 

Definition at line 47 of file Memory.h.

Function Documentation

auto glados::cuda::detail::checkCudaError ( cudaError_t  err,
const char *  file,
int  line 
) -> void
inline

Definition at line 45 of file Check.h.

auto glados::cuda::detail::checkCufftError ( cufftResult  result,
const char *  file,
int  line 
) -> void
inline

Definition at line 78 of file Check.h.

auto glados::cuda::detail::checkCusparseError ( cusparseStatus_t  stat,
const char *  file,
int  line 
) -> void
inline

Definition at line 106 of file Check.h.

auto glados::cuda::detail::getCufftErrorString ( cufftResult  result) -> std::string
inline

Definition at line 54 of file Check.h.

auto glados::cuda::detail::getCusparseErrorString ( cusparseStatus_t  stat) -> std::string
inline

Definition at line 88 of file Check.h.

template<class T1 , class D1 , Target t1, class T2 , class D2 , Target t2>
auto glados::cuda::detail::operator!= ( const unique_ptr< T1, D1, t2 > &  x,
const unique_ptr< T2, D2, t2 > &  y 
) -> bool
inlinenoexcept

Definition at line 124 of file Memory.h.

template<class T , class D , Target t>
auto glados::cuda::detail::operator!= ( const unique_ptr< T, D, t > &  x,
std::nullptr_t   
) -> bool
inlinenoexcept

Definition at line 142 of file Memory.h.

template<class T , class D , Target t>
auto glados::cuda::detail::operator!= ( std::nullptr_t  ,
const unique_ptr< T, D, t > &  x 
) -> bool
inlinenoexcept

Definition at line 148 of file Memory.h.

template<class T1 , class D1 , Target t1, class T2 , class D2 , Target t2>
auto glados::cuda::detail::operator== ( const unique_ptr< T1, D1, t2 > &  x,
const unique_ptr< T2, D2, t2 > &  y 
) -> bool
inlinenoexcept

Definition at line 118 of file Memory.h.

template<class T , class D , Target t>
auto glados::cuda::detail::operator== ( const unique_ptr< T, D, t > &  x,
std::nullptr_t   
) -> bool
inlinenoexcept

Definition at line 130 of file Memory.h.

template<class T , class D , Target t>
auto glados::cuda::detail::operator== ( std::nullptr_t  ,
const unique_ptr< T, D, t > &  x 
) -> bool
inlinenoexcept

Definition at line 136 of file Memory.h.

auto glados::cuda::detail::roundUp ( std::uint32_t  num,
std::uint32_t  multiple 
) -> std::uint32_t
inline

Definition at line 38 of file Launch.h.