| CUTLASS CUDA Templates for Linear Algebra Subroutines and Solvers

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
cutlass::NumericConverter< T, T, Round > Struct Template Reference

Partial specialization for float <= half_t.

`#include <numeric_conversion.h>`

## Public Types
using | result_type = T
using | source_type = T

## 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<typename T , FloatRoundStyle Round>

using cutlass::NumericConverter< T, T, Round >::result_type = T

template<typename T , FloatRoundStyle Round>

using cutlass::NumericConverter< T, T, Round >::source_type = T

## Member Function Documentation

template<typename T , FloatRoundStyle Round>

static CUTLASS_HOST_DEVICE result_type cutlass::NumericConverter< T, T, Round >::convert | ( | source_type const & | s | ) |
| inline static

template<typename T , FloatRoundStyle Round>

CUTLASS_HOST_DEVICE result_type cutlass::NumericConverter< T, T, Round >::operator() | ( | source_type const & | s | ) |
| inline

## Member Data Documentation

template<typename T , FloatRoundStyle Round>

FloatRoundStyle const cutlass::NumericConverter< T, T, Round >::round_style = Round
| static

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

- numeric_conversion.h