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))
191#ifdef _LIBCPP_BEGIN_NAMESPACE_STD
192_LIBCPP_BEGIN_NAMESPACE_STD
195#ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
196_GLIBCXX_BEGIN_NAMESPACE_VERSION
273#ifdef _LIBCPP_END_NAMESPACE_STD
274_LIBCPP_END_NAMESPACE_STD
276#ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
277_GLIBCXX_END_NAMESPACE_VERSION
282#pragma pop_macro("__DEVICE__")
__DEVICE__ bool isunordered(float __x, float __y)
Test if arguments are unordered.
__DEVICE__ bool isgreater(float __x, float __y)
Returns the component-wise compare of x > y.
__DEVICE__ bool islessgreater(float __x, float __y)
Returns the component-wise compare of (x < y) || (x > y) .
__DEVICE__ bool isnan(float __x)
Test for a NaN.
__DEVICE__ int fpclassify(float __x)
__DEVICE__ bool isfinite(float __x)
Test for finite value.
__DEVICE__ bool signbit(float __x)
Test for sign bit.
__DEVICE__ bool isinf(float __x)
Test for infinity value (+ve or -ve) .
__DEVICE__ float modf(float __x, float *__iptr)
__DEVICE__ bool islessequal(float __x, float __y)
Returns the component-wise compare of x <= y.
__DEVICE__ long long abs(long long __n)
__DEVICE__ bool isless(float __x, float __y)
Returns the component-wise compare of x < y.
__DEVICE__ bool isnormal(float __x)
Test for a normal value.
__DEVICE__ bool isgreaterequal(float __x, float __y)
Returns the component-wise compare of x >= y.
__DEVICE__ long labs(long __a)
__DEVICE__ long long llabs(long long __a)
__DEVICE__ float nanf(const char *)
__DEVICE__ bool islessgreater(double, double)
__DEVICE__ int fpclassify(double)
__DEVICE__ bool isnan(double)
__DEVICE__ bool signbit(double)
__DEVICE__ long abs(long)
__DEVICE__ bool isgreater(double, double)
__DEVICE__ long long llabs(long long)
__DEVICE__ bool isunordered(double, double)
__DEVICE__ bool islessequal(double, double)
__DEVICE__ long labs(long)
__DEVICE__ bool isnormal(double)
__DEVICE__ double modf(double, double *)
__DEVICE__ bool isinf(double)
__DEVICE__ double nan(const char *)
__DEVICE__ bool isgreaterequal(double, double)
__DEVICE__ bool isless(double, double)
__DEVICE__ bool isfinite(double)
#define scalbln(__x, __y)
#define copysign(__x, __y)
#define remquo(__x, __y, __z)
#define nextafter(__x, __y)
#define remainder(__x, __y)
#define fma(__x, __y, __z)