Home
last modified time | relevance | path

Searched refs:__DEVICE__ (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_libdevice_declares.h18 #define __DEVICE__ macro
21 #define __DEVICE__ __device__
24 __DEVICE__ int __nv_abs(int __a);
25 __DEVICE__ double __nv_acos(double __a);
26 __DEVICE__ float __nv_acosf(float __a);
28 __DEVICE__ float __nv_acoshf(float __a);
30 __DEVICE__ float __nv_asinf(float __a);
36 __DEVICE__ float __nv_atanf(float __a);
39 __DEVICE__ int __nv_brev(int __a);
46 __DEVICE__ int __nv_clz(int __a);
[all …]
H A D__clang_cuda_math_forward_declares.h26 __DEVICE__ long abs(long);
29 __DEVICE__ float abs(float);
30 __DEVICE__ int abs(int);
32 __DEVICE__ float acos(float);
36 __DEVICE__ float asin(float);
42 __DEVICE__ float atan(float);
46 __DEVICE__ float cbrt(float);
52 __DEVICE__ float cos(float);
58 __DEVICE__ float erf(float);
62 __DEVICE__ float exp(float);
[all …]
H A D__clang_cuda_device_functions.h26 #define __DEVICE__ static __device__ __forceinline__ macro
38 __DEVICE__ void __brkpt(int __a) { __brkpt(); } in __brkpt()
97 __DEVICE__ float __double2float_rd(double __a) { in __double2float_rd()
100 __DEVICE__ float __double2float_rn(double __a) { in __double2float_rn()
103 __DEVICE__ float __double2float_ru(double __a) { in __double2float_ru()
106 __DEVICE__ float __double2float_rz(double __a) { in __double2float_rz()
229 __DEVICE__ int __finitel(long double __a);
440 __DEVICE__ int __isinfl(long double __a);
445 __DEVICE__ int __isnanl(long double __a);
558 __DEVICE__ unsigned int
[all …]
H A D__clang_cuda_math.h32 #define __DEVICE__ static __device__ __forceinline__ macro
42 #define __DEVICE_VOID__ __DEVICE__
56 __DEVICE__ int abs(int __a) { return __nv_abs(__a); } in abs()
79 __DEVICE__ float copysignf(float __a, float __b) { in copysignf()
83 __DEVICE__ float cosf(float __a) { in cosf()
116 __DEVICE__ float fdividef(float __a, float __b) { in fdividef()
177 __DEVICE__ float log2f(float __a) { in log2f()
182 __DEVICE__ float logf(float __a) { in logf()
251 __DEVICE__ float rhypotf(float __a, float __b) { in rhypotf()
286 __DEVICE__ float scalblnf(float __a, long __b) { in scalblnf()
[all …]
H A D__clang_hip_math.h64 __DEVICE__
80 __DEVICE__
97 __DEVICE__
114 __DEVICE__
135 __DEVICE__
153 __DEVICE__
156 __DEVICE__
162 __DEVICE__
169 __DEVICE__
171 __DEVICE__
[all …]
H A D__clang_cuda_cmath.h56 __DEVICE__ int fpclassify(float __x) { in fpclassify()
60 __DEVICE__ int fpclassify(double __x) { in fpclassify()
64 __DEVICE__ float frexp(float __arg, int *__exp) { in frexp()
117 __DEVICE__ bool isgreater(float __x, float __y) { in isgreater()
129 __DEVICE__ bool isless(float __x, float __y) { in isless()
132 __DEVICE__ bool isless(double __x, double __y) { in isless()
155 __DEVICE__ float ldexp(float __arg, int __exp) { in ldexp()
164 __DEVICE__ float pow(float __base, int __iexp) { in pow()
308 __DEVICE__ typename __clang_cuda_enable_if<
332 __DEVICE__ typename __clang_cuda_enable_if<
[all …]
H A D__clang_hip_cmath.h54 __DEVICE__ __CONSTEXPR__ int fpclassify(float __x) { in fpclassify()
58 __DEVICE__ __CONSTEXPR__ int fpclassify(double __x) { in fpclassify()
137 __DEVICE__ __CONSTEXPR__ bool isnormal(float __x) { in isnormal()
561 __DEVICE__ __CONSTEXPR__
572 __DEVICE__ __CONSTEXPR__
579 __DEVICE__ __CONSTEXPR__
586 __DEVICE__ __CONSTEXPR__
594 __DEVICE__ __CONSTEXPR__
604 __DEVICE__ __CONSTEXPR__
614 __DEVICE__ __CONSTEXPR__
[all …]
H A D__clang_hip_stdlib.h20 #define __DEVICE__ static inline __attribute__((always_inline, nothrow)) macro
22 #define __DEVICE__ static __device__ inline __attribute__((always_inline)) macro
25 __DEVICE__
30 __DEVICE__
35 __DEVICE__
H A D__clang_cuda_runtime_wrapper.h292 #define __DEVICE__ static __device__ __forceinline__ __attribute__((const)) macro
293 __DEVICE__ unsigned int __isGlobal(const void *p) { in __isGlobal()
296 __DEVICE__ unsigned int __isShared(const void *p) { in __isShared()
299 __DEVICE__ unsigned int __isConstant(const void *p) { in __isConstant()
302 __DEVICE__ unsigned int __isLocal(const void *p) { in __isLocal()
H A D__clang_cuda_complex_builtins.h21 #define __DEVICE__ __attribute__((noinline, nothrow, cold, weak)) macro
23 #define __DEVICE__ __device__ inline macro
89 __DEVICE__ double _Complex __muldc3(double __a, double __b, double __c, in __muldc3()
140 __DEVICE__ float _Complex __mulsc3(float __a, float __b, float __c, float __d) { in __mulsc3()
188 __DEVICE__ double _Complex __divdc3(double __a, double __b, double __c, in __divdc3()
225 __DEVICE__ float _Complex __divsc3(float __a, float __b, float __c, float __d) { in __divsc3()
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcmath46 __DEVICE__ float cbrt(float __x) { return ::cbrtf(__x); }
47 __DEVICE__ float erf(float __x) { return ::erff(__x); }
48 __DEVICE__ float erfc(float __x) { return ::erfcf(__x); }
62 __DEVICE__ float nextafter(float __x, float __y) {
65 __DEVICE__ float remainder(float __x, float __y) {
68 __DEVICE__ float scalbln(float __x, long int __y) {
74 #undef __DEVICE__
109 __DEVICE__ float ldexp(float __arg, int __exp) {
115 __DEVICE__ float nextafter(float __x, float __y) {
118 __DEVICE__ float remainder(float __x, float __y) {
[all …]
H A Dcomplex_cmath.h28 #define __DEVICE__ static constexpr __attribute__((nothrow)) macro
34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) { in abs()
121 __DEVICE__ std::complex<_Tp> sqrt(const std::complex<_Tp> &__x) { in sqrt()
138 __DEVICE__ std::complex<_Tp> exp(const std::complex<_Tp> &__x) { in exp()
174 __DEVICE__ std::complex<_Tp> asinh(const std::complex<_Tp> &__x) { in asinh()
202 __DEVICE__ std::complex<_Tp> acosh(const std::complex<_Tp> &__x) { in acosh()
265 __DEVICE__ std::complex<_Tp> sinh(const std::complex<_Tp> &__x) { in sinh()
279 __DEVICE__ std::complex<_Tp> cosh(const std::complex<_Tp> &__x) { in cosh()
295 __DEVICE__ std::complex<_Tp> tanh(const std::complex<_Tp> &__x) { in tanh()
367 __DEVICE__ std::complex<_Tp> sin(const std::complex<_Tp> &__x) { in sin()
[all …]
H A Dtime.h18 #define __DEVICE__ static constexpr __attribute__((always_inline, nothrow)) macro
20 #define __DEVICE__ static __attribute__((always_inline, nothrow)) macro
28 __DEVICE__ clock_t clock() { return __nvvm_read_ptx_sreg_clock(); } in clock()