clang 20.0.0git
Macros | Functions
__clang_cuda_math.h File Reference

Go to the source code of this file.

Macros

#define __DEVICE__   static __device__ __forceinline__
 
#define __DEVICE_VOID__   __DEVICE__
 
#define __FAST_OR_SLOW(fast, slow)   slow
 

Functions

__DEVICE__ int abs (int __a)
 
__DEVICE__ double fabs (double __a)
 
__DEVICE__ double acos (double __a)
 
__DEVICE__ float acosf (float __a)
 
__DEVICE__ double acosh (double __a)
 
__DEVICE__ float acoshf (float __a)
 
__DEVICE__ double asin (double __a)
 
__DEVICE__ float asinf (float __a)
 
__DEVICE__ double asinh (double __a)
 
__DEVICE__ float asinhf (float __a)
 
__DEVICE__ double atan (double __a)
 
__DEVICE__ double atan2 (double __a, double __b)
 
__DEVICE__ float atan2f (float __a, float __b)
 
__DEVICE__ float atanf (float __a)
 
__DEVICE__ double atanh (double __a)
 
__DEVICE__ float atanhf (float __a)
 
__DEVICE__ double cbrt (double __a)
 
__DEVICE__ float cbrtf (float __a)
 
__DEVICE__ double ceil (double __a)
 
__DEVICE__ float ceilf (float __a)
 
__DEVICE__ double copysign (double __a, double __b)
 
__DEVICE__ float copysignf (float __a, float __b)
 
__DEVICE__ double cos (double __a)
 
__DEVICE__ float cosf (float __a)
 
__DEVICE__ double cosh (double __a)
 
__DEVICE__ float coshf (float __a)
 
__DEVICE__ double cospi (double __a)
 
__DEVICE__ float cospif (float __a)
 
__DEVICE__ double cyl_bessel_i0 (double __a)
 
__DEVICE__ float cyl_bessel_i0f (float __a)
 
__DEVICE__ double cyl_bessel_i1 (double __a)
 
__DEVICE__ float cyl_bessel_i1f (float __a)
 
__DEVICE__ double erf (double __a)
 
__DEVICE__ double erfc (double __a)
 
__DEVICE__ float erfcf (float __a)
 
__DEVICE__ double erfcinv (double __a)
 
__DEVICE__ float erfcinvf (float __a)
 
__DEVICE__ double erfcx (double __a)
 
__DEVICE__ float erfcxf (float __a)
 
__DEVICE__ float erff (float __a)
 
__DEVICE__ double erfinv (double __a)
 
__DEVICE__ float erfinvf (float __a)
 
__DEVICE__ double exp (double __a)
 
__DEVICE__ double exp10 (double __a)
 
__DEVICE__ float exp10f (float __a)
 
__DEVICE__ double exp2 (double __a)
 
__DEVICE__ float exp2f (float __a)
 
__DEVICE__ float expf (float __a)
 
__DEVICE__ double expm1 (double __a)
 
__DEVICE__ float expm1f (float __a)
 
__DEVICE__ float fabsf (float __a)
 
__DEVICE__ double fdim (double __a, double __b)
 
__DEVICE__ float fdimf (float __a, float __b)
 
__DEVICE__ double fdivide (double __a, double __b)
 
__DEVICE__ float fdividef (float __a, float __b)
 
__DEVICE__ double floor (double __f)
 
__DEVICE__ float floorf (float __f)
 
__DEVICE__ double fma (double __a, double __b, double __c)
 
__DEVICE__ float fmaf (float __a, float __b, float __c)
 
__DEVICE__ double fmax (double __a, double __b)
 
__DEVICE__ float fmaxf (float __a, float __b)
 
__DEVICE__ double fmin (double __a, double __b)
 
__DEVICE__ float fminf (float __a, float __b)
 
__DEVICE__ double fmod (double __a, double __b)
 
__DEVICE__ float fmodf (float __a, float __b)
 
__DEVICE__ double frexp (double __a, int *__b)
 
__DEVICE__ float frexpf (float __a, int *__b)
 
__DEVICE__ double hypot (double __a, double __b)
 
__DEVICE__ float hypotf (float __a, float __b)
 
__DEVICE__ int ilogb (double __a)
 
__DEVICE__ int ilogbf (float __a)
 
__DEVICE__ double j0 (double __a)
 
__DEVICE__ float j0f (float __a)
 
__DEVICE__ double j1 (double __a)
 
__DEVICE__ float j1f (float __a)
 
__DEVICE__ double jn (int __n, double __a)
 
__DEVICE__ float jnf (int __n, float __a)
 
__DEVICE__ long labs (long __a)
 
__DEVICE__ double ldexp (double __a, int __b)
 
__DEVICE__ float ldexpf (float __a, int __b)
 
__DEVICE__ double lgamma (double __a)
 
__DEVICE__ float lgammaf (float __a)
 
__DEVICE__ long long llabs (long long __a)
 
__DEVICE__ long long llmax (long long __a, long long __b)
 
__DEVICE__ long long llmin (long long __a, long long __b)
 
__DEVICE__ long long llrint (double __a)
 
__DEVICE__ long long llrintf (float __a)
 
__DEVICE__ long long llround (double __a)
 
__DEVICE__ long long llroundf (float __a)
 
__DEVICE__ double round (double __a)
 
__DEVICE__ float roundf (float __a)
 
__DEVICE__ double log (double __a)
 
__DEVICE__ double log10 (double __a)
 
__DEVICE__ float log10f (float __a)
 
__DEVICE__ double log1p (double __a)
 
__DEVICE__ float log1pf (float __a)
 
__DEVICE__ double log2 (double __a)
 
__DEVICE__ float log2f (float __a)
 
__DEVICE__ double logb (double __a)
 
__DEVICE__ float logbf (float __a)
 
__DEVICE__ float logf (float __a)
 
__DEVICE__ long lrint (double __a)
 
__DEVICE__ long lrintf (float __a)
 
__DEVICE__ long lround (double __a)
 
__DEVICE__ long lroundf (float __a)
 
__DEVICE__ int max (int __a, int __b)
 
__DEVICE__ int min (int __a, int __b)
 
__DEVICE__ double modf (double __a, double *__b)
 
__DEVICE__ float modff (float __a, float *__b)
 
__DEVICE__ double nearbyint (double __a)
 
__DEVICE__ float nearbyintf (float __a)
 
__DEVICE__ double nextafter (double __a, double __b)
 
__DEVICE__ float nextafterf (float __a, float __b)
 
__DEVICE__ double norm (int __dim, const double *__t)
 
__DEVICE__ double norm3d (double __a, double __b, double __c)
 
__DEVICE__ float norm3df (float __a, float __b, float __c)
 
__DEVICE__ double norm4d (double __a, double __b, double __c, double __d)
 
__DEVICE__ float norm4df (float __a, float __b, float __c, float __d)
 
__DEVICE__ double normcdf (double __a)
 
__DEVICE__ float normcdff (float __a)
 
__DEVICE__ double normcdfinv (double __a)
 
__DEVICE__ float normcdfinvf (float __a)
 
__DEVICE__ float normf (int __dim, const float *__t)
 
__DEVICE__ double pow (double __a, double __b)
 
__DEVICE__ float powf (float __a, float __b)
 
__DEVICE__ double powi (double __a, int __b)
 
__DEVICE__ float powif (float __a, int __b)
 
__DEVICE__ double rcbrt (double __a)
 
__DEVICE__ float rcbrtf (float __a)
 
__DEVICE__ double remainder (double __a, double __b)
 
__DEVICE__ float remainderf (float __a, float __b)
 
__DEVICE__ double remquo (double __a, double __b, int *__c)
 
__DEVICE__ float remquof (float __a, float __b, int *__c)
 
__DEVICE__ double rhypot (double __a, double __b)
 
__DEVICE__ float rhypotf (float __a, float __b)
 
__DEVICE__ double rint (double __a)
 
__DEVICE__ float rintf (float __a)
 
__DEVICE__ double rnorm (int __a, const double *__b)
 
__DEVICE__ double rnorm3d (double __a, double __b, double __c)
 
__DEVICE__ float rnorm3df (float __a, float __b, float __c)
 
__DEVICE__ double rnorm4d (double __a, double __b, double __c, double __d)
 
__DEVICE__ float rnorm4df (float __a, float __b, float __c, float __d)
 
__DEVICE__ float rnormf (int __dim, const float *__t)
 
__DEVICE__ double rsqrt (double __a)
 
__DEVICE__ float rsqrtf (float __a)
 
__DEVICE__ double scalbn (double __a, int __b)
 
__DEVICE__ float scalbnf (float __a, int __b)
 
__DEVICE__ double scalbln (double __a, long __b)
 
__DEVICE__ float scalblnf (float __a, long __b)
 
__DEVICE__ double sin (double __a)
 
__DEVICE_VOID__ void sincos (double __a, double *__s, double *__c)
 
__DEVICE_VOID__ void sincosf (float __a, float *__s, float *__c)
 
__DEVICE_VOID__ void sincospi (double __a, double *__s, double *__c)
 
__DEVICE_VOID__ void sincospif (float __a, float *__s, float *__c)
 
__DEVICE__ float sinf (float __a)
 
__DEVICE__ double sinh (double __a)
 
__DEVICE__ float sinhf (float __a)
 
__DEVICE__ double sinpi (double __a)
 
__DEVICE__ float sinpif (float __a)
 
__DEVICE__ double sqrt (double __a)
 
__DEVICE__ float sqrtf (float __a)
 
__DEVICE__ double tan (double __a)
 
__DEVICE__ float tanf (float __a)
 
__DEVICE__ double tanh (double __a)
 
__DEVICE__ float tanhf (float __a)
 
__DEVICE__ double tgamma (double __a)
 
__DEVICE__ float tgammaf (float __a)
 
__DEVICE__ double trunc (double __a)
 
__DEVICE__ float truncf (float __a)
 
__DEVICE__ unsigned long long ullmax (unsigned long long __a, unsigned long long __b)
 
__DEVICE__ unsigned long long ullmin (unsigned long long __a, unsigned long long __b)
 
__DEVICE__ unsigned int umax (unsigned int __a, unsigned int __b)
 
__DEVICE__ unsigned int umin (unsigned int __a, unsigned int __b)
 
__DEVICE__ double y0 (double __a)
 
__DEVICE__ float y0f (float __a)
 
__DEVICE__ double y1 (double __a)
 
__DEVICE__ float y1f (float __a)
 
__DEVICE__ double yn (int __a, double __b)
 
__DEVICE__ float ynf (int __a, float __b)
 

Macro Definition Documentation

◆ __DEVICE__

#define __DEVICE__   static __device__ __forceinline__

Definition at line 36 of file __clang_cuda_math.h.

◆ __DEVICE_VOID__

#define __DEVICE_VOID__   __DEVICE__

Definition at line 46 of file __clang_cuda_math.h.

◆ __FAST_OR_SLOW

#define __FAST_OR_SLOW (   fast,
  slow 
)    slow

Definition at line 57 of file __clang_cuda_math.h.

Function Documentation

◆ abs()

__DEVICE__ int abs ( int  __a)

Definition at line 60 of file __clang_cuda_math.h.

References __a, and __nv_abs().

◆ acos()

__DEVICE__ double acos ( double  __a)

Definition at line 62 of file __clang_cuda_math.h.

References __a, and __nv_acos().

◆ acosf()

__DEVICE__ float acosf ( float  __a)

Definition at line 63 of file __clang_cuda_math.h.

References __a, and __nv_acosf().

Referenced by __tg_acos().

◆ acosh()

__DEVICE__ double acosh ( double  __a)

Definition at line 64 of file __clang_cuda_math.h.

References __a, and __nv_acosh().

◆ acoshf()

__DEVICE__ float acoshf ( float  __a)

Definition at line 65 of file __clang_cuda_math.h.

References __a, and __nv_acoshf().

Referenced by __tg_acosh().

◆ asin()

__DEVICE__ double asin ( double  __a)

Definition at line 66 of file __clang_cuda_math.h.

References __a, and __nv_asin().

◆ asinf()

__DEVICE__ float asinf ( float  __a)

Definition at line 67 of file __clang_cuda_math.h.

References __a, and __nv_asinf().

Referenced by __tg_asin().

◆ asinh()

__DEVICE__ double asinh ( double  __a)

Definition at line 68 of file __clang_cuda_math.h.

References __a, and __nv_asinh().

◆ asinhf()

__DEVICE__ float asinhf ( float  __a)

Definition at line 69 of file __clang_cuda_math.h.

References __a, and __nv_asinhf().

Referenced by __tg_asinh().

◆ atan()

__DEVICE__ double atan ( double  __a)

Definition at line 70 of file __clang_cuda_math.h.

References __a, and __nv_atan().

◆ atan2()

__DEVICE__ double atan2 ( double  __a,
double  __b 
)

Definition at line 71 of file __clang_cuda_math.h.

References __a, __b, and __nv_atan2().

◆ atan2f()

__DEVICE__ float atan2f ( float  __a,
float  __b 
)

Definition at line 72 of file __clang_cuda_math.h.

References __a, __b, and __nv_atan2f().

Referenced by __tg_atan2(), __tg_carg(), and std::arg().

◆ atanf()

__DEVICE__ float atanf ( float  __a)

Definition at line 73 of file __clang_cuda_math.h.

References __a, and __nv_atanf().

Referenced by __tg_atan().

◆ atanh()

__DEVICE__ double atanh ( double  __a)

Definition at line 74 of file __clang_cuda_math.h.

References __a, and __nv_atanh().

◆ atanhf()

__DEVICE__ float atanhf ( float  __a)

Definition at line 75 of file __clang_cuda_math.h.

References __a, and __nv_atanhf().

Referenced by __tg_atanh().

◆ cbrt()

__DEVICE__ double cbrt ( double  __a)

Definition at line 76 of file __clang_cuda_math.h.

References __a, and __nv_cbrt().

◆ cbrtf()

__DEVICE__ float cbrtf ( float  __a)

Definition at line 77 of file __clang_cuda_math.h.

References __a, and __nv_cbrtf().

Referenced by __tg_cbrt().

◆ ceil()

__DEVICE__ double ceil ( double  __a)

Definition at line 78 of file __clang_cuda_math.h.

References __a, and __nv_ceil().

◆ ceilf()

__DEVICE__ float ceilf ( float  __a)

Definition at line 79 of file __clang_cuda_math.h.

References __a, and __nv_ceilf().

Referenced by __tg_ceil().

◆ copysign()

__DEVICE__ double copysign ( double  __a,
double  __b 
)

Definition at line 80 of file __clang_cuda_math.h.

References __a, __b, and __nv_copysign().

◆ copysignf()

__DEVICE__ float copysignf ( float  __a,
float  __b 
)

Definition at line 83 of file __clang_cuda_math.h.

References __a, __b, and __nv_copysignf().

Referenced by __tg_copysign().

◆ cos()

__DEVICE__ double cos ( double  __a)

Definition at line 86 of file __clang_cuda_math.h.

References __a, and __nv_cos().

◆ cosf()

__DEVICE__ float cosf ( float  __a)

Definition at line 87 of file __clang_cuda_math.h.

References __a, __FAST_OR_SLOW, __nv_cosf(), and __nv_fast_cosf().

Referenced by __tg_cos().

◆ cosh()

__DEVICE__ double cosh ( double  __a)

Definition at line 90 of file __clang_cuda_math.h.

References __a, and __nv_cosh().

◆ coshf()

__DEVICE__ float coshf ( float  __a)

Definition at line 91 of file __clang_cuda_math.h.

References __a, and __nv_coshf().

Referenced by __tg_cosh().

◆ cospi()

__DEVICE__ double cospi ( double  __a)

Definition at line 92 of file __clang_cuda_math.h.

References __a, and __nv_cospi().

◆ cospif()

__DEVICE__ float cospif ( float  __a)

Definition at line 93 of file __clang_cuda_math.h.

References __a, and __nv_cospif().

◆ cyl_bessel_i0()

__DEVICE__ double cyl_bessel_i0 ( double  __a)

Definition at line 94 of file __clang_cuda_math.h.

References __a, and __nv_cyl_bessel_i0().

◆ cyl_bessel_i0f()

__DEVICE__ float cyl_bessel_i0f ( float  __a)

Definition at line 95 of file __clang_cuda_math.h.

References __a, and __nv_cyl_bessel_i0f().

◆ cyl_bessel_i1()

__DEVICE__ double cyl_bessel_i1 ( double  __a)

Definition at line 96 of file __clang_cuda_math.h.

References __a, and __nv_cyl_bessel_i1().

◆ cyl_bessel_i1f()

__DEVICE__ float cyl_bessel_i1f ( float  __a)

Definition at line 97 of file __clang_cuda_math.h.

References __a, and __nv_cyl_bessel_i1f().

◆ erf()

__DEVICE__ double erf ( double  __a)

Definition at line 98 of file __clang_cuda_math.h.

References __a, and __nv_erf().

◆ erfc()

__DEVICE__ double erfc ( double  __a)

Definition at line 99 of file __clang_cuda_math.h.

References __a, and __nv_erfc().

◆ erfcf()

__DEVICE__ float erfcf ( float  __a)

Definition at line 100 of file __clang_cuda_math.h.

References __a, and __nv_erfcf().

Referenced by __tg_erfc().

◆ erfcinv()

__DEVICE__ double erfcinv ( double  __a)

Definition at line 101 of file __clang_cuda_math.h.

References __a, and __nv_erfcinv().

◆ erfcinvf()

__DEVICE__ float erfcinvf ( float  __a)

Definition at line 102 of file __clang_cuda_math.h.

References __a, and __nv_erfcinvf().

◆ erfcx()

__DEVICE__ double erfcx ( double  __a)

Definition at line 103 of file __clang_cuda_math.h.

References __a, and __nv_erfcx().

◆ erfcxf()

__DEVICE__ float erfcxf ( float  __a)

Definition at line 104 of file __clang_cuda_math.h.

References __a, and __nv_erfcxf().

◆ erff()

__DEVICE__ float erff ( float  __a)

Definition at line 105 of file __clang_cuda_math.h.

References __a, and __nv_erff().

Referenced by __tg_erf().

◆ erfinv()

__DEVICE__ double erfinv ( double  __a)

Definition at line 106 of file __clang_cuda_math.h.

References __a, and __nv_erfinv().

◆ erfinvf()

__DEVICE__ float erfinvf ( float  __a)

Definition at line 107 of file __clang_cuda_math.h.

References __a, and __nv_erfinvf().

◆ exp()

__DEVICE__ double exp ( double  __a)

Definition at line 108 of file __clang_cuda_math.h.

References __a, and __nv_exp().

◆ exp10()

__DEVICE__ double exp10 ( double  __a)

Definition at line 109 of file __clang_cuda_math.h.

References __a, and __nv_exp10().

◆ exp10f()

__DEVICE__ float exp10f ( float  __a)

Definition at line 110 of file __clang_cuda_math.h.

References __a, and __nv_exp10f().

◆ exp2()

__DEVICE__ double exp2 ( double  __a)

Definition at line 111 of file __clang_cuda_math.h.

References __a, and __nv_exp2().

◆ exp2f()

__DEVICE__ float exp2f ( float  __a)

Definition at line 112 of file __clang_cuda_math.h.

References __a, and __nv_exp2f().

Referenced by __tg_exp2().

◆ expf()

__DEVICE__ float expf ( float  __a)

Definition at line 113 of file __clang_cuda_math.h.

References __a, and __nv_expf().

Referenced by __tg_exp().

◆ expm1()

__DEVICE__ double expm1 ( double  __a)

Definition at line 114 of file __clang_cuda_math.h.

References __a, and __nv_expm1().

◆ expm1f()

__DEVICE__ float expm1f ( float  __a)

Definition at line 115 of file __clang_cuda_math.h.

References __a, and __nv_expm1f().

Referenced by __tg_expm1().

◆ fabs()

__DEVICE__ double fabs ( double  __a)

Definition at line 61 of file __clang_cuda_math.h.

References __a, and __nv_fabs().

◆ fabsf()

__DEVICE__ float fabsf ( float  __a)

Definition at line 116 of file __clang_cuda_math.h.

References __a, and __nv_fabsf().

Referenced by __tg_fabs().

◆ fdim()

__DEVICE__ double fdim ( double  __a,
double  __b 
)

Definition at line 117 of file __clang_cuda_math.h.

References __a, __b, and __nv_fdim().

◆ fdimf()

__DEVICE__ float fdimf ( float  __a,
float  __b 
)

Definition at line 118 of file __clang_cuda_math.h.

References __a, __b, and __nv_fdimf().

Referenced by __tg_fdim().

◆ fdivide()

__DEVICE__ double fdivide ( double  __a,
double  __b 
)

Definition at line 119 of file __clang_cuda_math.h.

References __a, and __b.

◆ fdividef()

__DEVICE__ float fdividef ( float  __a,
float  __b 
)

Definition at line 120 of file __clang_cuda_math.h.

References __a, __b, and __nv_fast_fdividef().

◆ floor()

__DEVICE__ double floor ( double  __f)

Definition at line 127 of file __clang_cuda_math.h.

References __nv_floor().

◆ floorf()

__DEVICE__ float floorf ( float  __f)

Definition at line 128 of file __clang_cuda_math.h.

References __nv_floorf().

Referenced by __tg_floor().

◆ fma()

__DEVICE__ double fma ( double  __a,
double  __b,
double  __c 
)

Definition at line 129 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_fma().

◆ fmaf()

__DEVICE__ float fmaf ( float  __a,
float  __b,
float  __c 
)

Definition at line 132 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_fmaf().

Referenced by __tg_fma().

◆ fmax()

__DEVICE__ double fmax ( double  __a,
double  __b 
)

Definition at line 135 of file __clang_cuda_math.h.

References __a, __b, and __nv_fmax().

◆ fmaxf()

__DEVICE__ float fmaxf ( float  __a,
float  __b 
)

Definition at line 136 of file __clang_cuda_math.h.

References __a, __b, and __nv_fmaxf().

Referenced by __tg_fmax().

◆ fmin()

__DEVICE__ double fmin ( double  __a,
double  __b 
)

Definition at line 137 of file __clang_cuda_math.h.

References __a, __b, and __nv_fmin().

◆ fminf()

__DEVICE__ float fminf ( float  __a,
float  __b 
)

Definition at line 138 of file __clang_cuda_math.h.

References __a, __b, and __nv_fminf().

Referenced by __tg_fmin().

◆ fmod()

__DEVICE__ double fmod ( double  __a,
double  __b 
)

Definition at line 139 of file __clang_cuda_math.h.

References __a, __b, and __nv_fmod().

◆ fmodf()

__DEVICE__ float fmodf ( float  __a,
float  __b 
)

Definition at line 140 of file __clang_cuda_math.h.

References __a, __b, and __nv_fmodf().

Referenced by __tg_fmod().

◆ frexp()

__DEVICE__ double frexp ( double  __a,
int __b 
)

Definition at line 141 of file __clang_cuda_math.h.

References __a, __b, and __nv_frexp().

◆ frexpf()

__DEVICE__ float frexpf ( float  __a,
int __b 
)

Definition at line 142 of file __clang_cuda_math.h.

References __a, __b, and __nv_frexpf().

Referenced by __tg_frexp().

◆ hypot()

__DEVICE__ double hypot ( double  __a,
double  __b 
)

Definition at line 143 of file __clang_cuda_math.h.

References __a, __b, and __nv_hypot().

◆ hypotf()

__DEVICE__ float hypotf ( float  __a,
float  __b 
)

Definition at line 144 of file __clang_cuda_math.h.

References __a, __b, and __nv_hypotf().

Referenced by __tg_hypot().

◆ ilogb()

__DEVICE__ int ilogb ( double  __a)

Definition at line 145 of file __clang_cuda_math.h.

References __a, and __nv_ilogb().

◆ ilogbf()

__DEVICE__ int ilogbf ( float  __a)

Definition at line 146 of file __clang_cuda_math.h.

References __a, and __nv_ilogbf().

Referenced by __tg_ilogb().

◆ j0()

__DEVICE__ double j0 ( double  __a)

Definition at line 147 of file __clang_cuda_math.h.

References __a, and __nv_j0().

◆ j0f()

__DEVICE__ float j0f ( float  __a)

Definition at line 148 of file __clang_cuda_math.h.

References __a, and __nv_j0f().

◆ j1()

__DEVICE__ double j1 ( double  __a)

Definition at line 149 of file __clang_cuda_math.h.

References __a, and __nv_j1().

◆ j1f()

__DEVICE__ float j1f ( float  __a)

Definition at line 150 of file __clang_cuda_math.h.

References __a, and __nv_j1f().

◆ jn()

__DEVICE__ double jn ( int  __n,
double  __a 
)

Definition at line 151 of file __clang_cuda_math.h.

References __a, and __nv_jn().

◆ jnf()

__DEVICE__ float jnf ( int  __n,
float  __a 
)

Definition at line 152 of file __clang_cuda_math.h.

References __a, and __nv_jnf().

◆ labs()

__DEVICE__ long labs ( long  __a)

Definition at line 156 of file __clang_cuda_math.h.

References __a, and __nv_abs().

◆ ldexp()

__DEVICE__ double ldexp ( double  __a,
int  __b 
)

Definition at line 158 of file __clang_cuda_math.h.

References __a, __b, and __nv_ldexp().

◆ ldexpf()

__DEVICE__ float ldexpf ( float  __a,
int  __b 
)

Definition at line 159 of file __clang_cuda_math.h.

References __a, __b, and __nv_ldexpf().

Referenced by __tg_ldexp().

◆ lgamma()

__DEVICE__ double lgamma ( double  __a)

Definition at line 160 of file __clang_cuda_math.h.

References __a, and __nv_lgamma().

◆ lgammaf()

__DEVICE__ float lgammaf ( float  __a)

Definition at line 161 of file __clang_cuda_math.h.

References __a, and __nv_lgammaf().

Referenced by __tg_lgamma().

◆ llabs()

__DEVICE__ long long llabs ( long long  __a)

Definition at line 162 of file __clang_cuda_math.h.

References __a, and __nv_llabs().

◆ llmax()

__DEVICE__ long long llmax ( long long  __a,
long long  __b 
)

Definition at line 163 of file __clang_cuda_math.h.

References __a, __b, and __nv_llmax().

◆ llmin()

__DEVICE__ long long llmin ( long long  __a,
long long  __b 
)

Definition at line 166 of file __clang_cuda_math.h.

References __a, __b, and __nv_llmin().

◆ llrint()

__DEVICE__ long long llrint ( double  __a)

Definition at line 169 of file __clang_cuda_math.h.

References __a, and __nv_llrint().

◆ llrintf()

__DEVICE__ long long llrintf ( float  __a)

Definition at line 170 of file __clang_cuda_math.h.

References __a, and __nv_llrintf().

Referenced by __tg_llrint().

◆ llround()

__DEVICE__ long long llround ( double  __a)

Definition at line 171 of file __clang_cuda_math.h.

References __a, and __nv_llround().

◆ llroundf()

__DEVICE__ long long llroundf ( float  __a)

Definition at line 172 of file __clang_cuda_math.h.

References __a, and __nv_llroundf().

Referenced by __tg_llround().

◆ log()

__DEVICE__ double log ( double  __a)

Definition at line 175 of file __clang_cuda_math.h.

References __a, and __nv_log().

◆ log10()

__DEVICE__ double log10 ( double  __a)

Definition at line 176 of file __clang_cuda_math.h.

References __a, and __nv_log10().

◆ log10f()

__DEVICE__ float log10f ( float  __a)

Definition at line 177 of file __clang_cuda_math.h.

References __a, and __nv_log10f().

Referenced by __tg_log10().

◆ log1p()

__DEVICE__ double log1p ( double  __a)

Definition at line 178 of file __clang_cuda_math.h.

References __a, and __nv_log1p().

◆ log1pf()

__DEVICE__ float log1pf ( float  __a)

Definition at line 179 of file __clang_cuda_math.h.

References __a, and __nv_log1pf().

Referenced by __tg_log1p().

◆ log2()

__DEVICE__ double log2 ( double  __a)

Definition at line 180 of file __clang_cuda_math.h.

References __a, and __nv_log2().

◆ log2f()

__DEVICE__ float log2f ( float  __a)

Definition at line 181 of file __clang_cuda_math.h.

References __a, __FAST_OR_SLOW, __nv_fast_log2f(), and __nv_log2f().

Referenced by __tg_log2().

◆ logb()

__DEVICE__ double logb ( double  __a)

Definition at line 184 of file __clang_cuda_math.h.

References __a, and __nv_logb().

◆ logbf()

__DEVICE__ float logbf ( float  __a)

Definition at line 185 of file __clang_cuda_math.h.

References __a, and __nv_logbf().

Referenced by __tg_logb().

◆ logf()

__DEVICE__ float logf ( float  __a)

Definition at line 186 of file __clang_cuda_math.h.

References __a, __FAST_OR_SLOW, __nv_fast_logf(), and __nv_logf().

Referenced by __tg_log().

◆ lrint()

__DEVICE__ long lrint ( double  __a)

Definition at line 195 of file __clang_cuda_math.h.

References __a, and rint.

◆ lrintf()

__DEVICE__ long lrintf ( float  __a)

Definition at line 196 of file __clang_cuda_math.h.

References __a, and __float2int_rn().

Referenced by __tg_lrint().

◆ lround()

__DEVICE__ long lround ( double  __a)

Definition at line 197 of file __clang_cuda_math.h.

References __a, and round.

◆ lroundf()

__DEVICE__ long lroundf ( float  __a)

Definition at line 198 of file __clang_cuda_math.h.

References __a, and roundf().

Referenced by __tg_lround().

◆ max()

__DEVICE__ int max ( int  __a,
int  __b 
)

Definition at line 200 of file __clang_cuda_math.h.

References __a, __b, and __nv_max().

Referenced by BuildAddressSpaceIndex(), and PrintDiagnosticCategories().

◆ min()

__DEVICE__ int min ( int  __a,
int  __b 
)

Definition at line 201 of file __clang_cuda_math.h.

References __a, __b, and __nv_min().

◆ modf()

__DEVICE__ double modf ( double  __a,
double __b 
)

Definition at line 202 of file __clang_cuda_math.h.

References __a, __b, and __nv_modf().

◆ modff()

__DEVICE__ float modff ( float  __a,
float __b 
)

Definition at line 203 of file __clang_cuda_math.h.

References __a, __b, and __nv_modff().

◆ nearbyint()

__DEVICE__ double nearbyint ( double  __a)

Definition at line 204 of file __clang_cuda_math.h.

References __a.

◆ nearbyintf()

__DEVICE__ float nearbyintf ( float  __a)

Definition at line 205 of file __clang_cuda_math.h.

References __a.

Referenced by __tg_nearbyint().

◆ nextafter()

__DEVICE__ double nextafter ( double  __a,
double  __b 
)

Definition at line 206 of file __clang_cuda_math.h.

References __a, __b, and __nv_nextafter().

◆ nextafterf()

__DEVICE__ float nextafterf ( float  __a,
float  __b 
)

Definition at line 209 of file __clang_cuda_math.h.

References __a, __b, and __nv_nextafterf().

Referenced by __tg_nextafter().

◆ norm()

__DEVICE__ double norm ( int  __dim,
const double __t 
)

Definition at line 212 of file __clang_cuda_math.h.

References __nv_norm().

◆ norm3d()

__DEVICE__ double norm3d ( double  __a,
double  __b,
double  __c 
)

Definition at line 215 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_norm3d().

◆ norm3df()

__DEVICE__ float norm3df ( float  __a,
float  __b,
float  __c 
)

Definition at line 218 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_norm3df().

◆ norm4d()

__DEVICE__ double norm4d ( double  __a,
double  __b,
double  __c,
double  __d 
)

Definition at line 221 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_norm4d().

◆ norm4df()

__DEVICE__ float norm4df ( float  __a,
float  __b,
float  __c,
float  __d 
)

Definition at line 224 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_norm4df().

◆ normcdf()

__DEVICE__ double normcdf ( double  __a)

Definition at line 227 of file __clang_cuda_math.h.

References __a, and __nv_normcdf().

◆ normcdff()

__DEVICE__ float normcdff ( float  __a)

Definition at line 228 of file __clang_cuda_math.h.

References __a, and __nv_normcdff().

◆ normcdfinv()

__DEVICE__ double normcdfinv ( double  __a)

Definition at line 229 of file __clang_cuda_math.h.

References __a, and __nv_normcdfinv().

◆ normcdfinvf()

__DEVICE__ float normcdfinvf ( float  __a)

Definition at line 230 of file __clang_cuda_math.h.

References __a, and __nv_normcdfinvf().

◆ normf()

__DEVICE__ float normf ( int  __dim,
const float __t 
)

Definition at line 231 of file __clang_cuda_math.h.

References __nv_normf().

◆ pow()

__DEVICE__ double pow ( double  __a,
double  __b 
)

Definition at line 234 of file __clang_cuda_math.h.

References __a, __b, and __nv_pow().

◆ powf()

__DEVICE__ float powf ( float  __a,
float  __b 
)

Definition at line 235 of file __clang_cuda_math.h.

References __a, __b, and __nv_powf().

Referenced by __tg_pow().

◆ powi()

__DEVICE__ double powi ( double  __a,
int  __b 
)

Definition at line 236 of file __clang_cuda_math.h.

References __a, __b, and __nv_powi().

◆ powif()

__DEVICE__ float powif ( float  __a,
int  __b 
)

Definition at line 237 of file __clang_cuda_math.h.

References __a, __b, and __nv_powif().

◆ rcbrt()

__DEVICE__ double rcbrt ( double  __a)

Definition at line 238 of file __clang_cuda_math.h.

References __a, and __nv_rcbrt().

◆ rcbrtf()

__DEVICE__ float rcbrtf ( float  __a)

Definition at line 239 of file __clang_cuda_math.h.

References __a, and __nv_rcbrtf().

◆ remainder()

__DEVICE__ double remainder ( double  __a,
double  __b 
)

Definition at line 240 of file __clang_cuda_math.h.

References __a, __b, and __nv_remainder().

◆ remainderf()

__DEVICE__ float remainderf ( float  __a,
float  __b 
)

Definition at line 243 of file __clang_cuda_math.h.

References __a, __b, and __nv_remainderf().

Referenced by __tg_remainder().

◆ remquo()

__DEVICE__ double remquo ( double  __a,
double  __b,
int __c 
)

Definition at line 246 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_remquo().

◆ remquof()

__DEVICE__ float remquof ( float  __a,
float  __b,
int __c 
)

Definition at line 249 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_remquof().

Referenced by __tg_remquo().

◆ rhypot()

__DEVICE__ double rhypot ( double  __a,
double  __b 
)

Definition at line 252 of file __clang_cuda_math.h.

References __a, __b, and __nv_rhypot().

◆ rhypotf()

__DEVICE__ float rhypotf ( float  __a,
float  __b 
)

Definition at line 255 of file __clang_cuda_math.h.

References __a, __b, and __nv_rhypotf().

◆ rint()

__DEVICE__ double rint ( double  __a)

Definition at line 259 of file __clang_cuda_math.h.

References __a.

◆ rintf()

__DEVICE__ float rintf ( float  __a)

Definition at line 260 of file __clang_cuda_math.h.

References __a.

Referenced by __tg_rint().

◆ rnorm()

__DEVICE__ double rnorm ( int  __a,
const double __b 
)

Definition at line 261 of file __clang_cuda_math.h.

References __a, __b, and __nv_rnorm().

◆ rnorm3d()

__DEVICE__ double rnorm3d ( double  __a,
double  __b,
double  __c 
)

Definition at line 264 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_rnorm3d().

◆ rnorm3df()

__DEVICE__ float rnorm3df ( float  __a,
float  __b,
float  __c 
)

Definition at line 267 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_rnorm3df().

◆ rnorm4d()

__DEVICE__ double rnorm4d ( double  __a,
double  __b,
double  __c,
double  __d 
)

Definition at line 270 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_rnorm4d().

◆ rnorm4df()

__DEVICE__ float rnorm4df ( float  __a,
float  __b,
float  __c,
float  __d 
)

Definition at line 273 of file __clang_cuda_math.h.

References __a, __b, __c, and __nv_rnorm4df().

◆ rnormf()

__DEVICE__ float rnormf ( int  __dim,
const float __t 
)

Definition at line 276 of file __clang_cuda_math.h.

References __nv_rnormf().

◆ round()

__DEVICE__ double round ( double  __a)

Definition at line 173 of file __clang_cuda_math.h.

References __a, and __nv_round().

◆ roundf()

__DEVICE__ float roundf ( float  __a)

Definition at line 174 of file __clang_cuda_math.h.

References __a, and __nv_roundf().

Referenced by __tg_round(), and lroundf().

◆ rsqrt()

__DEVICE__ double rsqrt ( double  __a)

Definition at line 279 of file __clang_cuda_math.h.

References __a, and __nv_rsqrt().

◆ rsqrtf()

__DEVICE__ float rsqrtf ( float  __a)

Definition at line 280 of file __clang_cuda_math.h.

References __a, and __nv_rsqrtf().

◆ scalbln()

__DEVICE__ double scalbln ( double  __a,
long  __b 
)

Definition at line 283 of file __clang_cuda_math.h.

References __a, __b, HUGE_VAL, INT_MAX, INT_MIN, and scalbn.

◆ scalblnf()

__DEVICE__ float scalblnf ( float  __a,
long  __b 
)

Definition at line 290 of file __clang_cuda_math.h.

References __a, __b, HUGE_VALF, INT_MAX, INT_MIN, and scalbnf().

Referenced by __tg_scalbln().

◆ scalbn()

__DEVICE__ double scalbn ( double  __a,
int  __b 
)

Definition at line 281 of file __clang_cuda_math.h.

References __a, __b, and __nv_scalbn().

◆ scalbnf()

__DEVICE__ float scalbnf ( float  __a,
int  __b 
)

Definition at line 282 of file __clang_cuda_math.h.

References __a, __b, and __nv_scalbnf().

Referenced by __tg_scalbn(), and scalblnf().

◆ sin()

__DEVICE__ double sin ( double  __a)

Definition at line 297 of file __clang_cuda_math.h.

References __a, and __nv_sin().

◆ sincos()

__DEVICE_VOID__ void sincos ( double  __a,
double __s,
double __c 
)

Definition at line 298 of file __clang_cuda_math.h.

References __a, __c, and __nv_sincos().

◆ sincosf()

__DEVICE_VOID__ void sincosf ( float  __a,
float __s,
float __c 
)

Definition at line 301 of file __clang_cuda_math.h.

References __a, __c, __FAST_OR_SLOW, __nv_fast_sincosf(), and __nv_sincosf().

◆ sincospi()

__DEVICE_VOID__ void sincospi ( double  __a,
double __s,
double __c 
)

Definition at line 304 of file __clang_cuda_math.h.

References __a, __c, and __nv_sincospi().

◆ sincospif()

__DEVICE_VOID__ void sincospif ( float  __a,
float __s,
float __c 
)

Definition at line 307 of file __clang_cuda_math.h.

References __a, __c, and __nv_sincospif().

◆ sinf()

__DEVICE__ float sinf ( float  __a)

Definition at line 310 of file __clang_cuda_math.h.

References __a, __FAST_OR_SLOW, __nv_fast_sinf(), and __nv_sinf().

Referenced by __tg_sin().

◆ sinh()

__DEVICE__ double sinh ( double  __a)

Definition at line 313 of file __clang_cuda_math.h.

References __a, and __nv_sinh().

◆ sinhf()

__DEVICE__ float sinhf ( float  __a)

Definition at line 314 of file __clang_cuda_math.h.

References __a, and __nv_sinhf().

Referenced by __tg_sinh().

◆ sinpi()

__DEVICE__ double sinpi ( double  __a)

Definition at line 315 of file __clang_cuda_math.h.

References __a, and __nv_sinpi().

◆ sinpif()

__DEVICE__ float sinpif ( float  __a)

Definition at line 316 of file __clang_cuda_math.h.

References __a, and __nv_sinpif().

◆ sqrt()

__DEVICE__ double sqrt ( double  __a)

Definition at line 317 of file __clang_cuda_math.h.

References __a, and __nv_sqrt().

◆ sqrtf()

__DEVICE__ float sqrtf ( float  __a)

Definition at line 318 of file __clang_cuda_math.h.

References __a, and __nv_sqrtf().

Referenced by __tg_sqrt().

◆ tan()

__DEVICE__ double tan ( double  __a)

Definition at line 319 of file __clang_cuda_math.h.

References __a, and __nv_tan().

◆ tanf()

__DEVICE__ float tanf ( float  __a)

Definition at line 320 of file __clang_cuda_math.h.

References __a, and __nv_tanf().

Referenced by __tg_tan().

◆ tanh()

__DEVICE__ double tanh ( double  __a)

Definition at line 321 of file __clang_cuda_math.h.

References __a, and __nv_tanh().

◆ tanhf()

__DEVICE__ float tanhf ( float  __a)

Definition at line 322 of file __clang_cuda_math.h.

References __a, and __nv_tanhf().

Referenced by __tg_tanh().

◆ tgamma()

__DEVICE__ double tgamma ( double  __a)

Definition at line 323 of file __clang_cuda_math.h.

References __a, and __nv_tgamma().

◆ tgammaf()

__DEVICE__ float tgammaf ( float  __a)

Definition at line 324 of file __clang_cuda_math.h.

References __a, and __nv_tgammaf().

Referenced by __tg_tgamma().

◆ trunc()

__DEVICE__ double trunc ( double  __a)

Definition at line 325 of file __clang_cuda_math.h.

References __a, and __nv_trunc().

◆ truncf()

__DEVICE__ float truncf ( float  __a)

Definition at line 326 of file __clang_cuda_math.h.

References __a, and __nv_truncf().

Referenced by __tg_trunc().

◆ ullmax()

__DEVICE__ unsigned long long ullmax ( unsigned long long  __a,
unsigned long long  __b 
)

Definition at line 327 of file __clang_cuda_math.h.

References __a, __b, and __nv_ullmax().

◆ ullmin()

__DEVICE__ unsigned long long ullmin ( unsigned long long  __a,
unsigned long long  __b 
)

Definition at line 331 of file __clang_cuda_math.h.

References __a, __b, and __nv_ullmin().

◆ umax()

__DEVICE__ unsigned int umax ( unsigned int  __a,
unsigned int  __b 
)

Definition at line 335 of file __clang_cuda_math.h.

References __a, __b, and __nv_umax().

◆ umin()

__DEVICE__ unsigned int umin ( unsigned int  __a,
unsigned int  __b 
)

Definition at line 338 of file __clang_cuda_math.h.

References __a, __b, and __nv_umin().

◆ y0()

__DEVICE__ double y0 ( double  __a)

Definition at line 341 of file __clang_cuda_math.h.

References __a, and __nv_y0().

◆ y0f()

__DEVICE__ float y0f ( float  __a)

Definition at line 342 of file __clang_cuda_math.h.

References __a, and __nv_y0f().

◆ y1()

__DEVICE__ double y1 ( double  __a)

Definition at line 343 of file __clang_cuda_math.h.

References __a, and __nv_y1().

◆ y1f()

__DEVICE__ float y1f ( float  __a)

Definition at line 344 of file __clang_cuda_math.h.

References __a, and __nv_y1f().

◆ yn()

__DEVICE__ double yn ( int  __a,
double  __b 
)

Definition at line 345 of file __clang_cuda_math.h.

References __a, __b, and __nv_yn().

◆ ynf()

__DEVICE__ float ynf ( int  __a,
float  __b 
)

Definition at line 346 of file __clang_cuda_math.h.

References __a, __b, and __nv_ynf().