QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
quda::Trig< isHalf > Struct Template Reference

#include <register_traits.h>

Static Public Member Functions

template<typename T >
__device__ static __host__ T Atan2 (const T &a, const T &b)
 
template<typename T >
__device__ static __host__ T Sin (const T &a)
 
template<typename T >
__device__ static __host__ T Cos (const T &a)
 
template<typename T >
__device__ static __host__ void SinCos (const T &a, T *s, T *c)
 

Detailed Description

template<bool isHalf>
struct quda::Trig< isHalf >

Generic wrapper for Trig functions

Definition at line 41 of file register_traits.h.

Member Function Documentation

template<bool isHalf>
template<typename T >
__device__ static __host__ T quda::Trig< isHalf >::Atan2 ( const T &  a,
const T &  b 
)
inlinestatic

Definition at line 43 of file register_traits.h.

template<bool isHalf>
template<typename T >
__device__ static __host__ T quda::Trig< isHalf >::Cos ( const T &  a)
inlinestatic

Definition at line 47 of file register_traits.h.

template<bool isHalf>
template<typename T >
__device__ static __host__ T quda::Trig< isHalf >::Sin ( const T &  a)
inlinestatic

Definition at line 45 of file register_traits.h.

template<bool isHalf>
template<typename T >
__device__ static __host__ void quda::Trig< isHalf >::SinCos ( const T &  a,
T *  s,
T *  c 
)
inlinestatic

Definition at line 50 of file register_traits.h.


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