clang  6.0.0svn
Namespaces | Macros | Functions
__clang_cuda_math_forward_declares.h File Reference

Go to the source code of this file.

Namespaces

 std
 

Macros

#define __DEVICE__   static __inline__ __attribute__((always_inline)) __attribute__((device))
 

Functions

__DEVICE__ double abs (double)
 
__DEVICE__ float abs (float)
 
__DEVICE__ int abs (int)
 
__DEVICE__ long abs (long)
 
__DEVICE__ long long abs (long long)
 
__DEVICE__ double acos (double)
 
__DEVICE__ float acos (float)
 
__DEVICE__ double acosh (double)
 
__DEVICE__ float acosh (float)
 
__DEVICE__ double asin (double)
 
__DEVICE__ float asin (float)
 
__DEVICE__ double asinh (double)
 
__DEVICE__ float asinh (float)
 
__DEVICE__ double atan2 (double, double)
 
__DEVICE__ float atan2 (float, float)
 
__DEVICE__ double atan (double)
 
__DEVICE__ float atan (float)
 
__DEVICE__ double atanh (double)
 
__DEVICE__ float atanh (float)
 
__DEVICE__ double cbrt (double)
 
__DEVICE__ float cbrt (float)
 
__DEVICE__ double ceil (double)
 
__DEVICE__ float ceil (float)
 
__DEVICE__ double copysign (double, double)
 
__DEVICE__ float copysign (float, float)
 
__DEVICE__ double cos (double)
 
__DEVICE__ float cos (float)
 
__DEVICE__ double cosh (double)
 
__DEVICE__ float cosh (float)
 
__DEVICE__ double erfc (double)
 
__DEVICE__ float erfc (float)
 
__DEVICE__ double erf (double)
 
__DEVICE__ float erf (float)
 
__DEVICE__ double exp2 (double)
 
__DEVICE__ float exp2 (float)
 
__DEVICE__ double exp (double)
 
__DEVICE__ float exp (float)
 
__DEVICE__ double expm1 (double)
 
__DEVICE__ float expm1 (float)
 
__DEVICE__ double fabs (double)
 
__DEVICE__ float fabs (float)
 
__DEVICE__ double fdim (double, double)
 
__DEVICE__ float fdim (float, float)
 
__DEVICE__ double floor (double)
 
__DEVICE__ float floor (float)
 
__DEVICE__ double fma (double, double, double)
 
__DEVICE__ float fma (float, float, float)
 
__DEVICE__ double fmax (double, double)
 
__DEVICE__ float fmax (float, float)
 
__DEVICE__ double fmin (double, double)
 
__DEVICE__ float fmin (float, float)
 
__DEVICE__ double fmod (double, double)
 
__DEVICE__ float fmod (float, float)
 
__DEVICE__ int fpclassify (double)
 
__DEVICE__ int fpclassify (float)
 
__DEVICE__ double frexp (double, int *)
 
__DEVICE__ float frexp (float, int *)
 
__DEVICE__ double hypot (double, double)
 
__DEVICE__ float hypot (float, float)
 
__DEVICE__ int ilogb (double)
 
__DEVICE__ int ilogb (float)
 
__DEVICE__ bool isfinite (double)
 
__DEVICE__ bool isfinite (float)
 
__DEVICE__ bool isgreater (double, double)
 
__DEVICE__ bool isgreaterequal (double, double)
 
__DEVICE__ bool isgreaterequal (float, float)
 
__DEVICE__ bool isgreater (float, float)
 
__DEVICE__ bool isinf (double)
 
__DEVICE__ bool isinf (float)
 
__DEVICE__ bool isless (double, double)
 
__DEVICE__ bool islessequal (double, double)
 
__DEVICE__ bool islessequal (float, float)
 
__DEVICE__ bool isless (float, float)
 
__DEVICE__ bool islessgreater (double, double)
 
__DEVICE__ bool islessgreater (float, float)
 
__DEVICE__ bool isnan (double)
 
__DEVICE__ bool isnan (float)
 
__DEVICE__ bool isnormal (double)
 
__DEVICE__ bool isnormal (float)
 
__DEVICE__ bool isunordered (double, double)
 
__DEVICE__ bool isunordered (float, float)
 
__DEVICE__ long labs (long)
 
__DEVICE__ double ldexp (double, int)
 
__DEVICE__ float ldexp (float, int)
 
__DEVICE__ double lgamma (double)
 
__DEVICE__ float lgamma (float)
 
__DEVICE__ long long llabs (long long)
 
__DEVICE__ long long llrint (double)
 
__DEVICE__ long long llrint (float)
 
__DEVICE__ double log10 (double)
 
__DEVICE__ float log10 (float)
 
__DEVICE__ double log1p (double)
 
__DEVICE__ float log1p (float)
 
__DEVICE__ double log2 (double)
 
__DEVICE__ float log2 (float)
 
__DEVICE__ double logb (double)
 
__DEVICE__ float logb (float)
 
__DEVICE__ double log (double)
 
__DEVICE__ float log (float)
 
__DEVICE__ long lrint (double)
 
__DEVICE__ long lrint (float)
 
__DEVICE__ long lround (double)
 
__DEVICE__ long lround (float)
 
__DEVICE__ long long llround (float)
 
__DEVICE__ double modf (double, double *)
 
__DEVICE__ float modf (float, float *)
 
__DEVICE__ double nan (const char *)
 
__DEVICE__ float nanf (const char *)
 
__DEVICE__ double nearbyint (double)
 
__DEVICE__ float nearbyint (float)
 
__DEVICE__ double nextafter (double, double)
 
__DEVICE__ float nextafter (float, float)
 
__DEVICE__ double pow (double, double)
 
__DEVICE__ double pow (double, int)
 
__DEVICE__ float pow (float, float)
 
__DEVICE__ float pow (float, int)
 
__DEVICE__ double remainder (double, double)
 
__DEVICE__ float remainder (float, float)
 
__DEVICE__ double remquo (double, double, int *)
 
__DEVICE__ float remquo (float, float, int *)
 
__DEVICE__ double rint (double)
 
__DEVICE__ float rint (float)
 
__DEVICE__ double round (double)
 
__DEVICE__ float round (float)
 
__DEVICE__ double scalbln (double, long)
 
__DEVICE__ float scalbln (float, long)
 
__DEVICE__ double scalbn (double, int)
 
__DEVICE__ float scalbn (float, int)
 
__DEVICE__ bool signbit (double)
 
__DEVICE__ bool signbit (float)
 
__DEVICE__ double sin (double)
 
__DEVICE__ float sin (float)
 
__DEVICE__ double sinh (double)
 
__DEVICE__ float sinh (float)
 
__DEVICE__ double sqrt (double)
 
__DEVICE__ float sqrt (float)
 
__DEVICE__ double tan (double)
 
__DEVICE__ float tan (float)
 
__DEVICE__ double tanh (double)
 
__DEVICE__ float tanh (float)
 
__DEVICE__ double tgamma (double)
 
__DEVICE__ float tgamma (float)
 
__DEVICE__ double trunc (double)
 
__DEVICE__ float trunc (float)
 

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__   static __inline__ __attribute__((always_inline)) __attribute__((device))

Definition at line 37 of file __clang_cuda_math_forward_declares.h.

Function Documentation

◆ abs() [1/5]

__DEVICE__ double abs ( double  )

Definition at line 52 of file __clang_cuda_cmath.h.

References fabs().

◆ abs() [2/5]

__DEVICE__ float abs ( float  )

Definition at line 51 of file __clang_cuda_cmath.h.

◆ abs() [3/5]

__DEVICE__ int abs ( int  )

◆ abs() [4/5]

__DEVICE__ long abs ( long  )

Definition at line 50 of file __clang_cuda_cmath.h.

◆ abs() [5/5]

__DEVICE__ long long abs ( long  long)

Definition at line 49 of file __clang_cuda_cmath.h.

References llabs().

Referenced by __divdc3(), __divsc3(), and EvaluateComplex().

◆ acos() [1/2]

__DEVICE__ double acos ( double  )

◆ acos() [2/2]

__DEVICE__ float acos ( float  )

Definition at line 53 of file __clang_cuda_cmath.h.

◆ acosh() [1/2]

__DEVICE__ double acosh ( double  )

◆ acosh() [2/2]

__DEVICE__ float acosh ( float  )

◆ asin() [1/2]

__DEVICE__ double asin ( double  )

◆ asin() [2/2]

__DEVICE__ float asin ( float  )

Definition at line 54 of file __clang_cuda_cmath.h.

◆ asinh() [1/2]

__DEVICE__ double asinh ( double  )

◆ asinh() [2/2]

__DEVICE__ float asinh ( float  )

◆ atan() [1/2]

__DEVICE__ double atan ( double  )

◆ atan() [2/2]

__DEVICE__ float atan ( float  )

Definition at line 55 of file __clang_cuda_cmath.h.

◆ atan2() [1/2]

__DEVICE__ double atan2 ( double  ,
double   
)

◆ atan2() [2/2]

__DEVICE__ float atan2 ( float  ,
float   
)

Definition at line 56 of file __clang_cuda_cmath.h.

◆ atanh() [1/2]

__DEVICE__ double atanh ( double  )

◆ atanh() [2/2]

__DEVICE__ float atanh ( float  )

◆ cbrt() [1/2]

__DEVICE__ double cbrt ( double  )

◆ cbrt() [2/2]

__DEVICE__ float cbrt ( float  )

◆ ceil() [1/2]

__DEVICE__ double ceil ( double  )

◆ ceil() [2/2]

__DEVICE__ float ceil ( float  )

Definition at line 57 of file __clang_cuda_cmath.h.

◆ copysign() [1/2]

__DEVICE__ double copysign ( double  ,
double   
)

◆ copysign() [2/2]

__DEVICE__ float copysign ( float  ,
float   
)

◆ cos() [1/2]

__DEVICE__ double cos ( double  )

◆ cos() [2/2]

__DEVICE__ float cos ( float  )

Definition at line 58 of file __clang_cuda_cmath.h.

◆ cosh() [1/2]

__DEVICE__ double cosh ( double  )

◆ cosh() [2/2]

__DEVICE__ float cosh ( float  )

Definition at line 59 of file __clang_cuda_cmath.h.

◆ erf() [1/2]

__DEVICE__ double erf ( double  )

◆ erf() [2/2]

__DEVICE__ float erf ( float  )

◆ erfc() [1/2]

__DEVICE__ double erfc ( double  )

◆ erfc() [2/2]

__DEVICE__ float erfc ( float  )

◆ exp() [1/2]

__DEVICE__ double exp ( double  )

◆ exp() [2/2]

__DEVICE__ float exp ( float  )

Definition at line 60 of file __clang_cuda_cmath.h.

◆ exp2() [1/2]

__DEVICE__ double exp2 ( double  )

◆ exp2() [2/2]

__DEVICE__ float exp2 ( float  )

◆ expm1() [1/2]

__DEVICE__ double expm1 ( double  )

◆ expm1() [2/2]

__DEVICE__ float expm1 ( float  )

◆ fabs() [1/2]

__DEVICE__ double fabs ( double  )

◆ fabs() [2/2]

__DEVICE__ float fabs ( float  )

Definition at line 61 of file __clang_cuda_cmath.h.

◆ fdim() [1/2]

__DEVICE__ double fdim ( double  ,
double   
)

◆ fdim() [2/2]

__DEVICE__ float fdim ( float  ,
float   
)

◆ floor() [1/2]

__DEVICE__ double floor ( double  )

◆ floor() [2/2]

__DEVICE__ float floor ( float  )

Definition at line 62 of file __clang_cuda_cmath.h.

◆ fma() [1/2]

__DEVICE__ double fma ( double  ,
double  ,
double   
)

◆ fma() [2/2]

__DEVICE__ float fma ( float  ,
float  ,
float   
)

◆ fmax() [1/2]

__DEVICE__ double fmax ( double  ,
double   
)

◆ fmax() [2/2]

__DEVICE__ float fmax ( float  ,
float   
)

◆ fmin() [1/2]

__DEVICE__ double fmin ( double  ,
double   
)

◆ fmin() [2/2]

__DEVICE__ float fmin ( float  ,
float   
)

◆ fmod() [1/2]

__DEVICE__ double fmod ( double  ,
double   
)

◆ fmod() [2/2]

__DEVICE__ float fmod ( float  ,
float   
)

Definition at line 63 of file __clang_cuda_cmath.h.

◆ fpclassify() [1/2]

__DEVICE__ int fpclassify ( double  )

Definition at line 68 of file __clang_cuda_cmath.h.

◆ fpclassify() [2/2]

__DEVICE__ int fpclassify ( float  )

Definition at line 64 of file __clang_cuda_cmath.h.

Referenced by scalbn().

◆ frexp() [1/2]

__DEVICE__ double frexp ( double  ,
int *   
)

◆ frexp() [2/2]

__DEVICE__ float frexp ( float  ,
int *   
)

Definition at line 72 of file __clang_cuda_cmath.h.

◆ hypot() [1/2]

__DEVICE__ double hypot ( double  ,
double   
)

◆ hypot() [2/2]

__DEVICE__ float hypot ( float  ,
float   
)

◆ ilogb() [1/2]

__DEVICE__ int ilogb ( double  )

◆ ilogb() [2/2]

__DEVICE__ int ilogb ( float  )

◆ isfinite() [1/2]

__DEVICE__ bool isfinite ( double  )

Definition at line 85 of file __clang_cuda_cmath.h.

◆ isfinite() [2/2]

__DEVICE__ bool isfinite ( float  )

Definition at line 81 of file __clang_cuda_cmath.h.

◆ isgreater() [1/2]

__DEVICE__ bool isgreater ( double  ,
double   
)

Definition at line 93 of file __clang_cuda_cmath.h.

◆ isgreater() [2/2]

__DEVICE__ bool isgreater ( float  ,
float   
)

Definition at line 90 of file __clang_cuda_cmath.h.

◆ isgreaterequal() [1/2]

__DEVICE__ bool isgreaterequal ( double  ,
double   
)

Definition at line 99 of file __clang_cuda_cmath.h.

◆ isgreaterequal() [2/2]

__DEVICE__ bool isgreaterequal ( float  ,
float   
)

Definition at line 96 of file __clang_cuda_cmath.h.

◆ isinf() [1/2]

__DEVICE__ bool isinf ( double  )

Definition at line 80 of file __clang_cuda_cmath.h.

◆ isinf() [2/2]

__DEVICE__ bool isinf ( float  )

Definition at line 79 of file __clang_cuda_cmath.h.

◆ isless() [1/2]

__DEVICE__ bool isless ( double  ,
double   
)

Definition at line 105 of file __clang_cuda_cmath.h.

◆ isless() [2/2]

__DEVICE__ bool isless ( float  ,
float   
)

Definition at line 102 of file __clang_cuda_cmath.h.

◆ islessequal() [1/2]

__DEVICE__ bool islessequal ( double  ,
double   
)

Definition at line 111 of file __clang_cuda_cmath.h.

◆ islessequal() [2/2]

__DEVICE__ bool islessequal ( float  ,
float   
)

Definition at line 108 of file __clang_cuda_cmath.h.

◆ islessgreater() [1/2]

__DEVICE__ bool islessgreater ( double  ,
double   
)

Definition at line 117 of file __clang_cuda_cmath.h.

◆ islessgreater() [2/2]

__DEVICE__ bool islessgreater ( float  ,
float   
)

Definition at line 114 of file __clang_cuda_cmath.h.

◆ isnan() [1/2]

__DEVICE__ bool isnan ( double  )

Definition at line 87 of file __clang_cuda_cmath.h.

◆ isnan() [2/2]

__DEVICE__ bool isnan ( float  )

Definition at line 86 of file __clang_cuda_cmath.h.

◆ isnormal() [1/2]

__DEVICE__ bool isnormal ( double  )

Definition at line 121 of file __clang_cuda_cmath.h.

◆ isnormal() [2/2]

__DEVICE__ bool isnormal ( float  )

Definition at line 120 of file __clang_cuda_cmath.h.

◆ isunordered() [1/2]

__DEVICE__ bool isunordered ( double  ,
double   
)

Definition at line 125 of file __clang_cuda_cmath.h.

◆ isunordered() [2/2]

__DEVICE__ bool isunordered ( float  ,
float   
)

Definition at line 122 of file __clang_cuda_cmath.h.

◆ labs()

__DEVICE__ long labs ( long  )

Referenced by abs().

◆ ldexp() [1/2]

__DEVICE__ double ldexp ( double  ,
int   
)

◆ ldexp() [2/2]

__DEVICE__ float ldexp ( float  ,
int   
)

Definition at line 128 of file __clang_cuda_cmath.h.

◆ lgamma() [1/2]

__DEVICE__ double lgamma ( double  )

◆ lgamma() [2/2]

__DEVICE__ float lgamma ( float  )

◆ llabs()

__DEVICE__ long long llabs ( long  long)

Referenced by abs().

◆ llrint() [1/2]

__DEVICE__ long long llrint ( double  )

◆ llrint() [2/2]

__DEVICE__ long long llrint ( float  )

◆ llround()

__DEVICE__ long long llround ( float  )

Referenced by scalbn().

◆ log() [1/2]

__DEVICE__ double log ( double  )

◆ log() [2/2]

__DEVICE__ float log ( float  )

Definition at line 131 of file __clang_cuda_cmath.h.

◆ log10() [1/2]

__DEVICE__ double log10 ( double  )

◆ log10() [2/2]

__DEVICE__ float log10 ( float  )

Definition at line 132 of file __clang_cuda_cmath.h.

◆ log1p() [1/2]

__DEVICE__ double log1p ( double  )

◆ log1p() [2/2]

__DEVICE__ float log1p ( float  )

◆ log2() [1/2]

__DEVICE__ double log2 ( double  )

◆ log2() [2/2]

__DEVICE__ float log2 ( float  )

◆ logb() [1/2]

__DEVICE__ double logb ( double  )

◆ logb() [2/2]

__DEVICE__ float logb ( float  )

◆ lrint() [1/2]

__DEVICE__ long lrint ( double  )

◆ lrint() [2/2]

__DEVICE__ long lrint ( float  )

◆ lround() [1/2]

__DEVICE__ long lround ( double  )

◆ lround() [2/2]

__DEVICE__ long lround ( float  )

◆ modf() [1/2]

__DEVICE__ double modf ( double  ,
double *   
)

◆ modf() [2/2]

__DEVICE__ float modf ( float  ,
float *   
)

Definition at line 133 of file __clang_cuda_cmath.h.

◆ nan()

__DEVICE__ double nan ( const char *  )

◆ nanf()

__DEVICE__ float nanf ( const char *  )

◆ nearbyint() [1/2]

__DEVICE__ double nearbyint ( double  )

◆ nearbyint() [2/2]

__DEVICE__ float nearbyint ( float  )

◆ nextafter() [1/2]

__DEVICE__ double nextafter ( double  ,
double   
)

◆ nextafter() [2/2]

__DEVICE__ float nextafter ( float  ,
float   
)

◆ pow() [1/4]

__DEVICE__ double pow ( double  ,
double   
)

◆ pow() [2/4]

__DEVICE__ double pow ( double  ,
int   
)

Definition at line 140 of file __clang_cuda_cmath.h.

◆ pow() [3/4]

__DEVICE__ float pow ( float  ,
float   
)

Definition at line 134 of file __clang_cuda_cmath.h.

◆ pow() [4/4]

__DEVICE__ float pow ( float  ,
int   
)

Definition at line 137 of file __clang_cuda_cmath.h.

◆ remainder() [1/2]

__DEVICE__ double remainder ( double  ,
double   
)

◆ remainder() [2/2]

__DEVICE__ float remainder ( float  ,
float   
)

◆ remquo() [1/2]

__DEVICE__ double remquo ( double  ,
double  ,
int *   
)

◆ remquo() [2/2]

__DEVICE__ float remquo ( float  ,
float  ,
int *   
)

◆ rint() [1/2]

__DEVICE__ double rint ( double  )

◆ rint() [2/2]

__DEVICE__ float rint ( float  )

◆ round() [1/2]

__DEVICE__ double round ( double  )

◆ round() [2/2]

__DEVICE__ float round ( float  )

◆ scalbln() [1/2]

__DEVICE__ double scalbln ( double  ,
long   
)

◆ scalbln() [2/2]

__DEVICE__ float scalbln ( float  ,
long   
)

◆ scalbn() [1/2]

__DEVICE__ double scalbn ( double  ,
int   
)

◆ scalbn() [2/2]

__DEVICE__ float scalbn ( float  ,
int   
)

◆ signbit() [1/2]

__DEVICE__ bool signbit ( double  )

Definition at line 144 of file __clang_cuda_cmath.h.

◆ signbit() [2/2]

__DEVICE__ bool signbit ( float  )

Definition at line 143 of file __clang_cuda_cmath.h.

◆ sin() [1/2]

__DEVICE__ double sin ( double  )

◆ sin() [2/2]

__DEVICE__ float sin ( float  )

Definition at line 145 of file __clang_cuda_cmath.h.

◆ sinh() [1/2]

__DEVICE__ double sinh ( double  )

◆ sinh() [2/2]

__DEVICE__ float sinh ( float  )

Definition at line 146 of file __clang_cuda_cmath.h.

◆ sqrt() [1/2]

__DEVICE__ double sqrt ( double  )

◆ sqrt() [2/2]

__DEVICE__ float sqrt ( float  )

Definition at line 147 of file __clang_cuda_cmath.h.

◆ tan() [1/2]

__DEVICE__ double tan ( double  )

◆ tan() [2/2]

__DEVICE__ float tan ( float  )

Definition at line 148 of file __clang_cuda_cmath.h.

◆ tanh() [1/2]

__DEVICE__ double tanh ( double  )

◆ tanh() [2/2]

__DEVICE__ float tanh ( float  )

Definition at line 149 of file __clang_cuda_cmath.h.

◆ tgamma() [1/2]

__DEVICE__ double tgamma ( double  )

◆ tgamma() [2/2]

__DEVICE__ float tgamma ( float  )

◆ trunc() [1/2]

__DEVICE__ double trunc ( double  )

◆ trunc() [2/2]

__DEVICE__ float trunc ( float  )