CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
cutlass::NumericConverter< int8_t, float, Round > Struct Template Reference

#include <numeric_conversion.h>

Public Types

using result_type = int8_t
 
using source_type = float
 

Public Member Functions

CUTLASS_HOST_DEVICE result_type operator() (source_type const &s)
 

Static Public Member Functions

static CUTLASS_HOST_DEVICE result_type convert (source_type const &s)
 

Static Public Attributes

static FloatRoundStyle const round_style = Round
 

Member Typedef Documentation

template<FloatRoundStyle Round>
using cutlass::NumericConverter< int8_t, float, Round >::result_type = int8_t
template<FloatRoundStyle Round>
using cutlass::NumericConverter< int8_t, float, Round >::source_type = float

Member Function Documentation

template<FloatRoundStyle Round>
static CUTLASS_HOST_DEVICE result_type cutlass::NumericConverter< int8_t, float, Round >::convert ( source_type const &  s)
inlinestatic
template<FloatRoundStyle Round>
CUTLASS_HOST_DEVICE result_type cutlass::NumericConverter< int8_t, float, Round >::operator() ( source_type const &  s)
inline

Member Data Documentation

template<FloatRoundStyle Round>
FloatRoundStyle const cutlass::NumericConverter< int8_t, float, Round >::round_style = Round
static

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