CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
Namespaces | Functions
relatively_equal.h File Reference
#include "numeric_types.h"
Include dependency graph for relatively_equal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cutlass
 
 cutlass::detail
 

Functions

template<typename T >
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal (T a, T b, T epsilon, T nonzero_floor)
 
template<typename T >
CUTLASS_HOST_DEVICE bool cutlass::detail::relatively_equal_float (T a, T b, T epsilon, T nonzero_floor)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< uint1b_t > (uint1b_t a, uint1b_t b, uint1b_t, uint1b_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< int4b_t > (int4b_t a, int4b_t b, int4b_t, int4b_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< uint4b_t > (uint4b_t a, uint4b_t b, uint4b_t, uint4b_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< int8_t > (int8_t a, int8_t b, int8_t, int8_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< uint8_t > (uint8_t a, uint8_t b, uint8_t, uint8_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< int16_t > (int16_t a, int16_t b, int16_t, int16_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< uint16_t > (uint16_t a, uint16_t b, uint16_t, uint16_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< int32_t > (int32_t a, int32_t b, int32_t, int32_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< uint32_t > (uint32_t a, uint32_t b, uint32_t, uint32_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< int64_t > (int64_t a, int64_t b, int64_t, int64_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< uint64_t > (uint64_t a, uint64_t b, uint64_t, uint64_t)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< half_t > (half_t a, half_t b, half_t epsilon, half_t nonzero_floor)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< float > (float a, float b, float epsilon, float nonzero_floor)
 
template<>
CUTLASS_HOST_DEVICE bool cutlass::relatively_equal< double > (double a, double b, double epsilon, double nonzero_floor)