Searched refs:__DEVICE__ (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 23 #define __DEVICE__ \ macro 26 __DEVICE__ long abs(long); 27 __DEVICE__ long long abs(long long); 28 __DEVICE__ double abs(double); 29 __DEVICE__ float abs(float); 30 __DEVICE__ int abs(int); 31 __DEVICE__ double acos(double); 32 __DEVICE__ float acos(float); 33 __DEVICE__ double acosh(double); 34 __DEVICE__ float acosh(float); [all …]
|
H A D | __clang_cuda_cmath.h | 36 #define __DEVICE__ static constexpr __attribute__((always_inline, nothrow)) macro 38 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline)) macro 41 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); } in abs() 42 __DEVICE__ long abs(long __n) { return ::labs(__n); } in abs() 43 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } in abs() 44 __DEVICE__ double abs(double __x) { return ::fabs(__x); } in abs() 45 __DEVICE__ float acos(float __x) { return ::acosf(__x); } in acos() 46 __DEVICE__ float asin(float __x) { return ::asinf(__x); } in asin() 47 __DEVICE__ float atan(float __x) { return ::atanf(__x); } in atan() 48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } in atan2() [all …]
|
H A D | __clang_hip_cmath.h | 30 #define __DEVICE__ static __attribute__((always_inline, nothrow)) macro 33 #define __DEVICE__ static __device__ inline __attribute__((always_inline)) macro 40 __DEVICE__ __CONSTEXPR__ float fabs(float __x) { return ::fabsf(__x); } in fabs() 41 __DEVICE__ __CONSTEXPR__ float sin(float __x) { return ::sinf(__x); } in sin() 42 __DEVICE__ __CONSTEXPR__ float cos(float __x) { return ::cosf(__x); } in cos() 44 __DEVICE__ __CONSTEXPR__ double abs(double __x) { return ::fabs(__x); } in abs() 45 __DEVICE__ __CONSTEXPR__ float abs(float __x) { return ::fabsf(__x); } in abs() 46 __DEVICE__ __CONSTEXPR__ long long abs(long long __n) { return ::llabs(__n); } in abs() 47 __DEVICE__ __CONSTEXPR__ long abs(long __n) { return ::labs(__n); } in abs() 48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { in fma() [all …]
|
H A D | __clang_hip_stdlib.h | 20 #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_complex_builtins.h | 21 #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 D | complex_cmath.h | 28 #define __DEVICE__ static constexpr __attribute__((nothrow)) macro 34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) { in abs() 40 template <class _Tp> __DEVICE__ _Tp arg(const std::complex<_Tp> &__c) { in arg() 58 template <class _Tp> __DEVICE__ _Tp norm(const std::complex<_Tp> &__c) { in norm() 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() 235 __DEVICE__ std::complex<_Tp> atanh(const std::complex<_Tp> &__x) { in atanh() 265 __DEVICE__ std::complex<_Tp> sinh(const std::complex<_Tp> &__x) { in sinh() [all …]
|
H A D | time.h | 18 #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()
|