QUDA  v1.1.0
A library for QCD on GPUs
Static Public Member Functions | List of all members
quda::Trig< true, float > Struct Reference

#include <register_traits.h>

Static Public Member Functions

__device__ static __host__ float Atan2 (const float &a, const float &b)
 
__device__ static __host__ float Sin (const float &a)
 
__device__ static __host__ float Cos (const float &a)
 
__device__ static __host__ void SinCos (const float &a, float *s, float *c)
 

Detailed Description

Specialization of Trig functions using fixed b/c gauge reconstructs are -1 -> 1 instead of -Pi -> Pi

Definition at line 412 of file register_traits.h.

Member Function Documentation

◆ Atan2()

__device__ static __host__ float quda::Trig< true, float >::Atan2 ( const float &  a,
const float &  b 
)
inlinestatic

Definition at line 413 of file register_traits.h.

◆ Cos()

__device__ static __host__ float quda::Trig< true, float >::Cos ( const float &  a)
inlinestatic

Definition at line 422 of file register_traits.h.

◆ Sin()

__device__ static __host__ float quda::Trig< true, float >::Sin ( const float &  a)
inlinestatic

Definition at line 414 of file register_traits.h.

◆ SinCos()

__device__ static __host__ void quda::Trig< true, float >::SinCos ( const float &  a,
float *  s,
float *  c 
)
inlinestatic

Definition at line 431 of file register_traits.h.


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