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< true > 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)
 

Detailed Description

template<>
struct quda::Trig< true >

Specialization of Trig functions using shorts

Definition at line 57 of file register_traits.h.

Member Function Documentation

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

Definition at line 59 of file register_traits.h.

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

Definition at line 63 of file register_traits.h.

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

Definition at line 61 of file register_traits.h.


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