| 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< half_t, float, FloatRoundStyle::round_to_nearest > Struct Template Reference

Specialization for round-to-nearest.

`#include <numeric_conversion.h>`

## Public Types
using | result_type = half_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 = FloatRoundStyle::round_to_nearest

## Member Typedef Documentation

using cutlass::NumericConverter< half_t, float, FloatRoundStyle::round_to_nearest >::result_type = half_t

using cutlass::NumericConverter< half_t, float, FloatRoundStyle::round_to_nearest >::source_type = float

## Member Function Documentation

static CUTLASS_HOST_DEVICE result_type cutlass::NumericConverter< half_t, float, FloatRoundStyle::round_to_nearest >::convert | ( | source_type const & | s | ) |
| inline static

CUTLASS_HOST_DEVICE result_type cutlass::NumericConverter< half_t, float, FloatRoundStyle::round_to_nearest >::operator() | ( | source_type const & | s | ) |
| inline

## Member Data Documentation

FloatRoundStyle const cutlass::NumericConverter< half_t, float, FloatRoundStyle::round_to_nearest >::round_style = FloatRoundStyle::round_to_nearest
| static

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

- numeric_conversion.h