QUDA
v1.1.0
A library for QCD on GPUs
|
Go to the source code of this file.
Macros | |
#define | SHORT_LENGTH 65536 |
#define | SCALE_FLOAT ((SHORT_LENGTH-1) * 0.5) |
#define | SHIFT_FLOAT (-1.f / (SHORT_LENGTH-1)) |
Functions | |
template<typename Float > | |
short | FloatToShort (Float a) |
template<typename Float > | |
Float | shortToFloat (short a) |
#define SCALE_FLOAT ((SHORT_LENGTH-1) * 0.5) |
#define SHIFT_FLOAT (-1.f / (SHORT_LENGTH-1)) |
|
inline |