QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
new_half.cu File Reference
#include <quda_internal.h>
#include <register_traits.h>

Go to the source code of this file.

Macros

#define MAX_USHORT   65535.0f
 

Functions

void ucopy (float &a, const ushort &b)
 
void ucopy (ushort &a, const float &b)
 
void old_load_half (float spinor[24], short *in, float *norm, int idx)
 
void old_save_half (float spinor[24], short *out, float *norm, int idx)
 
void new_load_half (float spinor[24], short *in, float *norm, int idx)
 
void new_save_half (float spinor[24], short *out, float *norm, int idx)
 
void oldCopyToHalf (short *out, float *norm, float *in, int N)
 
void oldCopyToFloat (float *out, short *in, float *norm, int N)
 
void newCopyToHalf (short *out, float *norm, float *in, int N)
 
void newCopyToFloat (float *out, short *in, float *norm, int N)
 
void insertNoise (float *field, int N, float power)
 
double l2 (float *a, float *b, int N)
 
int main ()
 

Macro Definition Documentation

#define MAX_USHORT   65535.0f

Definition at line 16 of file new_half.cu.

Function Documentation

void insertNoise ( float *  field,
int  N,
float  power 
)

Definition at line 112 of file new_half.cu.

double l2 ( float *  a,
float *  b,
int  N 
)

Definition at line 120 of file new_half.cu.

int main ( )

Definition at line 135 of file new_half.cu.

void new_load_half ( float  spinor[24],
short *  in,
float *  norm,
int  idx 
)

Definition at line 43 of file new_half.cu.

void new_save_half ( float  spinor[24],
short *  out,
float *  norm,
int  idx 
)

Definition at line 57 of file new_half.cu.

void newCopyToFloat ( float *  out,
short *  in,
float *  norm,
int  N 
)

Definition at line 103 of file new_half.cu.

void newCopyToHalf ( short *  out,
float *  norm,
float *  in,
int  N 
)

Definition at line 94 of file new_half.cu.

void old_load_half ( float  spinor[24],
short *  in,
float *  norm,
int  idx 
)

Definition at line 21 of file new_half.cu.

void old_save_half ( float  spinor[24],
short *  out,
float *  norm,
int  idx 
)

Definition at line 30 of file new_half.cu.

void oldCopyToFloat ( float *  out,
short *  in,
float *  norm,
int  N 
)

Definition at line 85 of file new_half.cu.

void oldCopyToHalf ( short *  out,
float *  norm,
float *  in,
int  N 
)

Definition at line 76 of file new_half.cu.

void ucopy ( float &  a,
const ushort &  b 
)
inline

Definition at line 17 of file new_half.cu.

void ucopy ( ushort &  a,
const float &  b 
)
inline

Definition at line 18 of file new_half.cu.