CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
Public Types | Public Member Functions | Public Attributes | List of all members
cutlass::reference::host::detail::RandomUniformFunc< complex< Element > > Struct Template Reference

Partial specialization for initializing a complex value.

#include <tensor_fill.h>

Public Types

using Real = typename RealType< Element >::Type
 

Public Member Functions

 RandomUniformFunc (uint64_t seed_=0, double max=1, double min_=0, int int_scale_=-1)
 
complex< Element > operator() () const
 Compute random value and update RNG state. More...
 

Public Attributes

uint64_t seed
 
double range
 
double min
 
int int_scale
 

Member Typedef Documentation

template<typename Element >
using cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::Real = typename RealType<Element>::Type

Constructor & Destructor Documentation

template<typename Element >
cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::RandomUniformFunc ( uint64_t  seed_ = 0,
double  max = 1,
double  min_ = 0,
int  int_scale_ = -1 
)
inline

Member Function Documentation

template<typename Element >
complex<Element> cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::operator() ( ) const
inline

Member Data Documentation

template<typename Element >
int cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::int_scale
template<typename Element >
double cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::min
template<typename Element >
double cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::range
template<typename Element >
uint64_t cutlass::reference::host::detail::RandomUniformFunc< complex< Element > >::seed

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