HomeSort by: relevance | last modified time | path
    Searched defs:__DEVICE__ (Results 1 - 10 of 10) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Headers/
__clang_cuda_libdevice_declares.h 18 #define __DEVICE__
20 #define __DEVICE__ __device__
23 __DEVICE__ int __nv_abs(int __a);
24 __DEVICE__ double __nv_acos(double __a);
25 __DEVICE__ float __nv_acosf(float __a);
26 __DEVICE__ double __nv_acosh(double __a);
27 __DEVICE__ float __nv_acoshf(float __a);
28 __DEVICE__ double __nv_asin(double __a);
29 __DEVICE__ float __nv_asinf(float __a)
    [all...]
__clang_cuda_math_forward_declares.h 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --===
18 // absence of a prior __device__ decl, those constexpr functions may become
20 // would preclude the use of our own __device__ overloads for these functions.
22 #pragma push_macro("__DEVICE__")
23 #define __DEVICE__ \
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)
    [all...]
__clang_cuda_complex_builtins.h 18 #pragma push_macro("__DEVICE__")
21 #define __DEVICE__ __attribute__((noinline, nothrow, cold, weak))
23 #define __DEVICE__ __device__ inline
89 __DEVICE__ double _Complex __muldc3(double __a, double __b, double __c,
140 __DEVICE__ float _Complex __mulsc3(float __a, float __b, float __c, float __d) {
188 __DEVICE__ double _Complex __divdc3(double __a, double __b, double __c,
225 __DEVICE__ float _Complex __divsc3(float __a, float __b, float __c, float __d) {
283 #pragma pop_macro("__DEVICE__")
__clang_cuda_cmath.h 22 // Specifically, the forward-declares header declares __device__ overloads for
36 #define __DEVICE__ static constexpr __attribute__((always_inline, nothrow))
38 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline))
41 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); }
42 __DEVICE__ long abs(long __n) { return ::labs(__n); }
43 __DEVICE__ float abs(float __x) { return ::fabsf(__x); }
44 __DEVICE__ double abs(double __x) { return ::fabs(__x); }
45 __DEVICE__ float acos(float __x) { return ::acosf(__x); }
46 __DEVICE__ float asin(float __x) { return ::asinf(__x);
    [all...]
__clang_hip_cmath.h 27 #pragma push_macro("__DEVICE__")
28 #define __DEVICE__ static __device__ inline __attribute__((always_inline))
32 __DEVICE__ double abs(double __x) { return ::fabs(__x); }
33 __DEVICE__ float abs(float __x) { return ::fabsf(__x); }
34 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); }
35 __DEVICE__ long abs(long __n) { return ::labs(__n); }
36 __DEVICE__ float fma(float __x, float __y, float __z) {
42 __DEVICE__ int fpclassify(float __x) {
46 __DEVICE__ int fpclassify(double __x)
    [all...]
__clang_cuda_math.h 21 // __DEVICE__ is a helper macro with common set of attributes for the wrappers
24 #pragma push_macro("__DEVICE__")
27 #define __DEVICE__ static constexpr __attribute__((always_inline, nothrow))
29 #define __DEVICE__ static __attribute__((always_inline, nothrow))
32 #define __DEVICE__ static __device__ __forceinline__
35 // Specialized version of __DEVICE__ for functions with void return type. Needed
42 #define __DEVICE_VOID__ __DEVICE__
56 __DEVICE__ int abs(int __a) { return __nv_abs(__a); }
57 __DEVICE__ double fabs(double __a) { return __nv_fabs(__a);
    [all...]
__clang_hip_math.h 24 #pragma push_macro("__DEVICE__")
25 #define __DEVICE__ static __device__ inline __attribute__((always_inline))
41 static const __device__ bool valid;
44 __DEVICE__
47 __DEVICE__ void __static_assert_equal_size() {
60 __DEVICE__
77 __DEVICE__
94 __DEVICE__
115 __DEVICE__
    [all...]
__clang_cuda_device_functions.h 19 // __DEVICE__ is a helper macro with common set of attributes for the wrappers
22 #pragma push_macro("__DEVICE__")
24 #define __DEVICE__ static __attribute__((always_inline, nothrow))
26 #define __DEVICE__ static __device__ __forceinline__
29 __DEVICE__ int __all(int __a) { return __nvvm_vote_all(__a); }
30 __DEVICE__ int __any(int __a) { return __nvvm_vote_any(__a); }
31 __DEVICE__ unsigned int __ballot(int __a) { return __nvvm_vote_ballot(__a); }
32 __DEVICE__ unsigned int __brev(unsigned int __a) { return __nv_brev(__a); }
33 __DEVICE__ unsigned long long __brevll(unsigned long long __a)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Headers/openmp_wrappers/
time.h 18 #define __DEVICE__ static constexpr __attribute__((always_inline, nothrow))
20 #define __DEVICE__ static __attribute__((always_inline, nothrow))
28 __DEVICE__ clock_t clock() { return __nvvm_read_ptx_sreg_clock(); }
complex_cmath.h 28 #define __DEVICE__ static constexpr __attribute__((nothrow))
34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) {
40 template <class _Tp> __DEVICE__ _Tp arg(const std::complex<_Tp> &__c) {
58 template <class _Tp> __DEVICE__ _Tp norm(const std::complex<_Tp> &__c) {
121 __DEVICE__ std::complex<_Tp> sqrt(const std::complex<_Tp> &__x) {
138 __DEVICE__ std::complex<_Tp> exp(const std::complex<_Tp> &__x) {
174 __DEVICE__ std::complex<_Tp> asinh(const std::complex<_Tp> &__x) {
202 __DEVICE__ std::complex<_Tp> acosh(const std::complex<_Tp> &__x) {
235 __DEVICE__ std::complex<_Tp> atanh(const std::complex<_Tp> &__x) {
265 __DEVICE__ std::complex<_Tp> sinh(const std::complex<_Tp> &__x)
    [all...]

Completed in 18 milliseconds