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

#include <register_traits.h>

Static Public Member Functions

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

Detailed Description

template<bool isFixed, typename T>
struct quda::Trig< isFixed, T >

Generic wrapper for Trig functions

Definition at line 368 of file register_traits.h.

Member Function Documentation

◆ Atan2()

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

Definition at line 369 of file register_traits.h.

◆ Cos()

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

Definition at line 371 of file register_traits.h.

◆ Sin()

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

Definition at line 370 of file register_traits.h.

◆ SinCos()

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

Definition at line 372 of file register_traits.h.


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