9 #ifndef __CLANG__CUDA_MATH_FORWARD_DECLARES_H__
10 #define __CLANG__CUDA_MATH_FORWARD_DECLARES_H__
11 #if !defined(__CUDA__) && !__HIP__
12 #error "This file is for CUDA/HIP compilation only."
22 #pragma push_macro("__DEVICE__")
24 static __inline__ __attribute__((always_inline)) __attribute__((device))
188 #ifdef _LIBCPP_BEGIN_NAMESPACE_STD
189 _LIBCPP_BEGIN_NAMESPACE_STD
192 #ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
193 _GLIBCXX_BEGIN_NAMESPACE_VERSION
270 #ifdef _LIBCPP_END_NAMESPACE_STD
271 _LIBCPP_END_NAMESPACE_STD
273 #ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
274 _GLIBCXX_END_NAMESPACE_VERSION
279 #pragma pop_macro("__DEVICE__")
__DEVICE__ double hypot(double, double)
__DEVICE__ float nanf(const char *)
__DEVICE__ double acosh(double)
__DEVICE__ bool islessgreater(double, double)
__DEVICE__ double exp(double)
__DEVICE__ double nextafter(double, double)
__DEVICE__ double fmod(double, double)
__DEVICE__ double atan(double)
__DEVICE__ double tanh(double)
__DEVICE__ long long llround(float)
__DEVICE__ double remquo(double, double, int *)
__DEVICE__ int fpclassify(double)
__DEVICE__ double log(double)
__DEVICE__ double asin(double)
__DEVICE__ double scalbn(double, int)
__DEVICE__ double ceil(double)
__DEVICE__ double log2(double)
__DEVICE__ double log10(double)
__DEVICE__ bool isnan(double)
__DEVICE__ double rint(double)
__DEVICE__ bool signbit(double)
__DEVICE__ double trunc(double)
__DEVICE__ double logb(double)
__DEVICE__ double atan2(double, double)
__DEVICE__ long abs(long)
__DEVICE__ double log1p(double)
__DEVICE__ double ldexp(double, int)
__DEVICE__ double copysign(double, double)
__DEVICE__ bool isgreater(double, double)
__DEVICE__ double nearbyint(double)
__DEVICE__ double fdim(double, double)
__DEVICE__ double asinh(double)
__DEVICE__ double fmin(double, double)
__DEVICE__ long long llabs(long long)
__DEVICE__ bool isunordered(double, double)
__DEVICE__ bool islessequal(double, double)
__DEVICE__ int ilogb(double)
__DEVICE__ double scalbln(double, long)
__DEVICE__ long labs(long)
__DEVICE__ bool isnormal(double)
__DEVICE__ double exp2(double)
__DEVICE__ double atanh(double)
__DEVICE__ double sinh(double)
__DEVICE__ double round(double)
__DEVICE__ double cos(double)
__DEVICE__ double tgamma(double)
__DEVICE__ double sqrt(double)
__DEVICE__ double fma(double, double, double)
__DEVICE__ double modf(double, double *)
__DEVICE__ double fmax(double, double)
__DEVICE__ double acos(double)
__DEVICE__ double lgamma(double)
__DEVICE__ double cbrt(double)
__DEVICE__ long lrint(double)
__DEVICE__ long long llrint(double)
__DEVICE__ bool isinf(double)
__DEVICE__ double nan(const char *)
__DEVICE__ double sin(double)
__DEVICE__ double pow(double, double)
__DEVICE__ double expm1(double)
__DEVICE__ double floor(double)
__DEVICE__ double cosh(double)
__DEVICE__ double frexp(double, int *)
__DEVICE__ double tan(double)
__DEVICE__ double erfc(double)
__DEVICE__ bool isgreaterequal(double, double)
__DEVICE__ long lround(double)
__DEVICE__ double remainder(double, double)
__DEVICE__ double erf(double)
__DEVICE__ bool isless(double, double)
__DEVICE__ double fabs(double)
__DEVICE__ bool isfinite(double)