clang
15.0.0git
|
Go to the source code of this file.
Namespaces | |
std | |
Macros | |
#define | __DEVICE__ static __inline__ __attribute__((always_inline)) __attribute__((device)) |
#define __DEVICE__ static __inline__ __attribute__((always_inline)) __attribute__((device)) |
Definition at line 23 of file __clang_cuda_math_forward_declares.h.
__DEVICE__ double abs | ( | double | ) |
Definition at line 44 of file __clang_cuda_cmath.h.
__DEVICE__ float abs | ( | float | ) |
Definition at line 43 of file __clang_cuda_cmath.h.
__DEVICE__ int abs | ( | int | ) |
Definition at line 56 of file __clang_cuda_math.h.
__DEVICE__ long long abs | ( | long long | ) |
Definition at line 41 of file __clang_cuda_cmath.h.
References llabs().
__DEVICE__ long abs | ( | long | ) |
Definition at line 42 of file __clang_cuda_cmath.h.
__DEVICE__ double acos | ( | double | ) |
Definition at line 58 of file __clang_cuda_math.h.
References __a, __nv_acos(), and __x.
__DEVICE__ float acos | ( | float | ) |
Definition at line 45 of file __clang_cuda_cmath.h.
__DEVICE__ double acosh | ( | double | ) |
Definition at line 60 of file __clang_cuda_math.h.
References __a, __nv_acosh(), and __x.
__DEVICE__ float acosh | ( | float | ) |
__DEVICE__ double asin | ( | double | ) |
Definition at line 62 of file __clang_cuda_math.h.
References __a, __nv_asin(), and __x.
__DEVICE__ float asin | ( | float | ) |
Definition at line 46 of file __clang_cuda_cmath.h.
__DEVICE__ double asinh | ( | double | ) |
Definition at line 64 of file __clang_cuda_math.h.
References __a, __nv_asinh(), and __x.
__DEVICE__ float asinh | ( | float | ) |
__DEVICE__ double atan | ( | double | ) |
Definition at line 66 of file __clang_cuda_math.h.
References __a, __nv_atan(), and __x.
__DEVICE__ float atan | ( | float | ) |
Definition at line 47 of file __clang_cuda_cmath.h.
__DEVICE__ double atan2 | ( | double | , |
double | |||
) |
Definition at line 67 of file __clang_cuda_math.h.
References __a, __b, __nv_atan2(), __x, and __y.
__DEVICE__ float atan2 | ( | float | , |
float | |||
) |
Definition at line 48 of file __clang_cuda_cmath.h.
__DEVICE__ double atanh | ( | double | ) |
Definition at line 70 of file __clang_cuda_math.h.
References __a, __nv_atanh(), and __x.
__DEVICE__ float atanh | ( | float | ) |
__DEVICE__ double cbrt | ( | double | ) |
Definition at line 72 of file __clang_cuda_math.h.
References __a, __nv_cbrt(), and __x.
__DEVICE__ float cbrt | ( | float | ) |
__DEVICE__ double ceil | ( | double | ) |
Definition at line 74 of file __clang_cuda_math.h.
References __a, __nv_ceil(), and __x.
__DEVICE__ float ceil | ( | float | ) |
Definition at line 49 of file __clang_cuda_cmath.h.
__DEVICE__ double copysign | ( | double | , |
double | |||
) |
Definition at line 76 of file __clang_cuda_math.h.
References __a, __b, __nv_copysign(), __x, and __y.
__DEVICE__ float copysign | ( | float | , |
float | |||
) |
__DEVICE__ double cos | ( | double | ) |
Definition at line 82 of file __clang_cuda_math.h.
References __a, __nv_cos(), __ocml_cos_f64(), and __x.
__DEVICE__ float cos | ( | float | ) |
Definition at line 50 of file __clang_cuda_cmath.h.
__DEVICE__ double cosh | ( | double | ) |
Definition at line 86 of file __clang_cuda_math.h.
References __a, __nv_cosh(), and __x.
__DEVICE__ float cosh | ( | float | ) |
Definition at line 51 of file __clang_cuda_cmath.h.
__DEVICE__ double erf | ( | double | ) |
Definition at line 94 of file __clang_cuda_math.h.
References __a, __nv_erf(), and __x.
__DEVICE__ float erf | ( | float | ) |
__DEVICE__ double erfc | ( | double | ) |
Definition at line 95 of file __clang_cuda_math.h.
References __a, __nv_erfc(), and __x.
__DEVICE__ float erfc | ( | float | ) |
__DEVICE__ double exp | ( | double | ) |
Definition at line 104 of file __clang_cuda_math.h.
References __a, __nv_exp(), and __x.
__DEVICE__ float exp | ( | float | ) |
Definition at line 52 of file __clang_cuda_cmath.h.
__DEVICE__ double exp2 | ( | double | ) |
Definition at line 107 of file __clang_cuda_math.h.
References __a, __nv_exp2(), and __x.
__DEVICE__ float exp2 | ( | float | ) |
__DEVICE__ double expm1 | ( | double | ) |
Definition at line 110 of file __clang_cuda_math.h.
References __a, __nv_expm1(), and __x.
__DEVICE__ float expm1 | ( | float | ) |
__DEVICE__ double fabs | ( | double | ) |
Definition at line 57 of file __clang_cuda_math.h.
References __a, __nv_fabs(), and __x.
__DEVICE__ float fabs | ( | float | ) |
Definition at line 53 of file __clang_cuda_cmath.h.
__DEVICE__ double fdim | ( | double | , |
double | |||
) |
Definition at line 113 of file __clang_cuda_math.h.
References __a, __b, __nv_fdim(), __x, and __y.
__DEVICE__ float fdim | ( | float | , |
float | |||
) |
__DEVICE__ double floor | ( | double | ) |
Definition at line 123 of file __clang_cuda_math.h.
References __nv_floor(), and __x.
__DEVICE__ float floor | ( | float | ) |
Definition at line 54 of file __clang_cuda_cmath.h.
__DEVICE__ double fma | ( | double | , |
double | , | ||
double | |||
) |
Definition at line 125 of file __clang_cuda_math.h.
__DEVICE__ float fma | ( | float | , |
float | , | ||
float | |||
) |
__DEVICE__ double fmax | ( | double | , |
double | |||
) |
Definition at line 131 of file __clang_cuda_math.h.
References __a, __b, __nv_fmax(), __x, and __y.
__DEVICE__ float fmax | ( | float | , |
float | |||
) |
__DEVICE__ double fmin | ( | double | , |
double | |||
) |
Definition at line 133 of file __clang_cuda_math.h.
References __a, __b, __nv_fmin(), __x, and __y.
__DEVICE__ float fmin | ( | float | , |
float | |||
) |
__DEVICE__ double fmod | ( | double | , |
double | |||
) |
Definition at line 135 of file __clang_cuda_math.h.
References __a, __b, __nv_fmod(), __x, and __y.
__DEVICE__ float fmod | ( | float | , |
float | |||
) |
Definition at line 55 of file __clang_cuda_cmath.h.
__DEVICE__ int fpclassify | ( | double | ) |
Definition at line 60 of file __clang_cuda_cmath.h.
References __x.
__DEVICE__ int fpclassify | ( | float | ) |
Definition at line 56 of file __clang_cuda_cmath.h.
References __x.
__DEVICE__ double frexp | ( | double | , |
int * | |||
) |
Definition at line 137 of file __clang_cuda_math.h.
References __a, __b, __nv_frexp(), __ocml_frexp_f64(), and __x.
__DEVICE__ float frexp | ( | float | , |
int * | |||
) |
__DEVICE__ double hypot | ( | double | , |
double | |||
) |
Definition at line 139 of file __clang_cuda_math.h.
References __a, __b, __nv_hypot(), __x, and __y.
__DEVICE__ float hypot | ( | float | , |
float | |||
) |
__DEVICE__ int ilogb | ( | double | ) |
Definition at line 141 of file __clang_cuda_math.h.
References __a, __nv_ilogb(), and __x.
__DEVICE__ int ilogb | ( | float | ) |
__DEVICE__ bool isfinite | ( | double | ) |
Definition at line 107 of file __clang_cuda_cmath.h.
References __isfinited(), and __x.
__DEVICE__ bool isfinite | ( | float | ) |
Definition at line 103 of file __clang_cuda_cmath.h.
__DEVICE__ bool isgreater | ( | double | , |
double | |||
) |
Definition at line 120 of file __clang_cuda_cmath.h.
__DEVICE__ bool isgreater | ( | float | , |
float | |||
) |
Definition at line 117 of file __clang_cuda_cmath.h.
__DEVICE__ bool isgreaterequal | ( | double | , |
double | |||
) |
Definition at line 126 of file __clang_cuda_cmath.h.
__DEVICE__ bool isgreaterequal | ( | float | , |
float | |||
) |
Definition at line 123 of file __clang_cuda_cmath.h.
__DEVICE__ bool isinf | ( | double | ) |
Definition at line 102 of file __clang_cuda_cmath.h.
__DEVICE__ bool isinf | ( | float | ) |
Definition at line 101 of file __clang_cuda_cmath.h.
__DEVICE__ bool isless | ( | double | , |
double | |||
) |
Definition at line 132 of file __clang_cuda_cmath.h.
__DEVICE__ bool isless | ( | float | , |
float | |||
) |
Definition at line 129 of file __clang_cuda_cmath.h.
__DEVICE__ bool islessequal | ( | double | , |
double | |||
) |
Definition at line 138 of file __clang_cuda_cmath.h.
__DEVICE__ bool islessequal | ( | float | , |
float | |||
) |
Definition at line 135 of file __clang_cuda_cmath.h.
__DEVICE__ bool islessgreater | ( | double | , |
double | |||
) |
Definition at line 144 of file __clang_cuda_cmath.h.
__DEVICE__ bool islessgreater | ( | float | , |
float | |||
) |
Definition at line 141 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnan | ( | double | ) |
Definition at line 109 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnan | ( | float | ) |
Definition at line 108 of file __clang_cuda_cmath.h.
__DEVICE__ bool isnormal | ( | double | ) |
Definition at line 148 of file __clang_cuda_cmath.h.
References __x.
__DEVICE__ bool isnormal | ( | float | ) |
Definition at line 147 of file __clang_cuda_cmath.h.
__DEVICE__ bool isunordered | ( | double | , |
double | |||
) |
Definition at line 152 of file __clang_cuda_cmath.h.
__DEVICE__ bool isunordered | ( | float | , |
float | |||
) |
Definition at line 149 of file __clang_cuda_cmath.h.
__DEVICE__ long labs | ( | long | ) |
Definition at line 152 of file __clang_cuda_math.h.
References __a, and __nv_abs().
Referenced by abs().
__DEVICE__ double ldexp | ( | double | , |
int | |||
) |
Definition at line 154 of file __clang_cuda_math.h.
References __a, __b, __nv_ldexp(), and __x.
__DEVICE__ float ldexp | ( | float | , |
int | |||
) |
Definition at line 155 of file __clang_cuda_cmath.h.
__DEVICE__ double lgamma | ( | double | ) |
Definition at line 156 of file __clang_cuda_math.h.
References __a, __nv_lgamma(), __ocml_lgamma_f64(), and __x.
__DEVICE__ float lgamma | ( | float | ) |
__DEVICE__ long long llabs | ( | long long | ) |
Definition at line 158 of file __clang_cuda_math.h.
References __a, and __nv_llabs().
Referenced by abs().
__DEVICE__ long long llrint | ( | double | ) |
Definition at line 165 of file __clang_cuda_math.h.
References __a, __nv_llrint(), and __x.
__DEVICE__ long long llrint | ( | float | ) |
__DEVICE__ long long llround | ( | float | ) |
__DEVICE__ double log | ( | double | ) |
Definition at line 171 of file __clang_cuda_math.h.
References __a, __nv_log(), and __x.
__DEVICE__ float log | ( | float | ) |
Definition at line 158 of file __clang_cuda_cmath.h.
__DEVICE__ double log10 | ( | double | ) |
Definition at line 172 of file __clang_cuda_math.h.
References __a, __nv_log10(), and __x.
__DEVICE__ float log10 | ( | float | ) |
Definition at line 159 of file __clang_cuda_cmath.h.
__DEVICE__ double log1p | ( | double | ) |
Definition at line 174 of file __clang_cuda_math.h.
References __a, __nv_log1p(), and __x.
__DEVICE__ float log1p | ( | float | ) |
__DEVICE__ double log2 | ( | double | ) |
Definition at line 176 of file __clang_cuda_math.h.
References __a, __nv_log2(), and __x.
__DEVICE__ float log2 | ( | float | ) |
__DEVICE__ double logb | ( | double | ) |
Definition at line 180 of file __clang_cuda_math.h.
References __a, __nv_logb(), and __x.
__DEVICE__ float logb | ( | float | ) |
__DEVICE__ long lrint | ( | double | ) |
Definition at line 191 of file __clang_cuda_math.h.
__DEVICE__ long lrint | ( | float | ) |
__DEVICE__ long lround | ( | double | ) |
Definition at line 193 of file __clang_cuda_math.h.
__DEVICE__ long lround | ( | float | ) |
__DEVICE__ double modf | ( | double | , |
double * | |||
) |
Definition at line 198 of file __clang_cuda_math.h.
References __a, __b, __nv_modf(), __ocml_modf_f64(), and __x.
__DEVICE__ float modf | ( | float | , |
float * | |||
) |
Definition at line 160 of file __clang_cuda_cmath.h.
Referenced by mutateLongDoubleBuiltin().
__DEVICE__ double nan | ( | const char * | ) |
Definition at line 918 of file __clang_hip_math.h.
References __make_mantissa(), __static_assert_type_size_equal, and sign().
Referenced by mutateLongDoubleBuiltin().
__DEVICE__ float nanf | ( | const char * | ) |
Definition at line 362 of file __clang_hip_math.h.
References __make_mantissa(), __static_assert_type_size_equal, and sign().
__DEVICE__ double nearbyint | ( | double | ) |
Definition at line 200 of file __clang_cuda_math.h.
__DEVICE__ float nearbyint | ( | float | ) |
__DEVICE__ double nextafter | ( | double | , |
double | |||
) |
Definition at line 202 of file __clang_cuda_math.h.
References __a, __b, __nv_nextafter(), __x, and __y.
__DEVICE__ float nextafter | ( | float | , |
float | |||
) |
__DEVICE__ double pow | ( | double | , |
double | |||
) |
Definition at line 230 of file __clang_cuda_math.h.
References __a, __b, __nv_pow(), __x, and __y.
__DEVICE__ double pow | ( | double | , |
int | |||
) |
Definition at line 167 of file __clang_cuda_cmath.h.
References powi().
__DEVICE__ float pow | ( | float | , |
float | |||
) |
Definition at line 161 of file __clang_cuda_cmath.h.
__DEVICE__ float pow | ( | float | , |
int | |||
) |
Definition at line 164 of file __clang_cuda_cmath.h.
References powif().
__DEVICE__ double remainder | ( | double | , |
double | |||
) |
Definition at line 236 of file __clang_cuda_math.h.
References __a, __b, __nv_remainder(), __x, and __y.
__DEVICE__ float remainder | ( | float | , |
float | |||
) |
__DEVICE__ double remquo | ( | double | , |
double | , | ||
int * | |||
) |
Definition at line 242 of file __clang_cuda_math.h.
References __a, __b, __c, __nv_remquo(), __ocml_remquo_f64(), __x, and __y.
__DEVICE__ float remquo | ( | float | , |
float | , | ||
int * | |||
) |
__DEVICE__ double rint | ( | double | ) |
__DEVICE__ float rint | ( | float | ) |
__DEVICE__ double round | ( | double | ) |
Definition at line 169 of file __clang_cuda_math.h.
References __a, __nv_round(), and __x.
Referenced by lround().
__DEVICE__ float round | ( | float | ) |
__DEVICE__ double scalbln | ( | double | , |
long | |||
) |
__DEVICE__ float scalbln | ( | float | , |
long | |||
) |
__DEVICE__ double scalbn | ( | double | , |
int | |||
) |
Definition at line 277 of file __clang_cuda_math.h.
References __a, __b, __nv_scalbn(), and __x.
Referenced by scalbln().
__DEVICE__ float scalbn | ( | float | , |
int | |||
) |
__DEVICE__ bool signbit | ( | double | ) |
Definition at line 171 of file __clang_cuda_cmath.h.
References __signbitd(), and __x.
__DEVICE__ bool signbit | ( | float | ) |
Definition at line 170 of file __clang_cuda_cmath.h.
__DEVICE__ double sin | ( | double | ) |
Definition at line 293 of file __clang_cuda_math.h.
References __a, __nv_sin(), __ocml_sin_f64(), and __x.
__DEVICE__ float sin | ( | float | ) |
Definition at line 172 of file __clang_cuda_cmath.h.
__DEVICE__ double sinh | ( | double | ) |
Definition at line 309 of file __clang_cuda_math.h.
References __a, __nv_sinh(), and __x.
__DEVICE__ float sinh | ( | float | ) |
Definition at line 173 of file __clang_cuda_cmath.h.
__DEVICE__ double sqrt | ( | double | ) |
Definition at line 313 of file __clang_cuda_math.h.
References __a, __nv_sqrt(), and __x.
__DEVICE__ float sqrt | ( | float | ) |
Definition at line 174 of file __clang_cuda_cmath.h.
__DEVICE__ double tan | ( | double | ) |
Definition at line 315 of file __clang_cuda_math.h.
References __a, __nv_tan(), __ocml_tan_f64(), and __x.
__DEVICE__ float tan | ( | float | ) |
Definition at line 175 of file __clang_cuda_cmath.h.
__DEVICE__ double tanh | ( | double | ) |
Definition at line 317 of file __clang_cuda_math.h.
References __a, __nv_tanh(), and __x.
__DEVICE__ float tanh | ( | float | ) |
Definition at line 176 of file __clang_cuda_cmath.h.
__DEVICE__ double tgamma | ( | double | ) |
Definition at line 319 of file __clang_cuda_math.h.
References __a, __nv_tgamma(), __ocml_tgamma_f64(), and __x.
__DEVICE__ float tgamma | ( | float | ) |
__DEVICE__ double trunc | ( | double | ) |
Definition at line 321 of file __clang_cuda_math.h.
References __a, __nv_trunc(), and __x.
__DEVICE__ float trunc | ( | float | ) |