/external/clang/lib/Headers/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
__clang_cuda_cmath.h | 32 // Specifically, the forward-declares header declares __device__ overloads for 45 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline)) 47 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); } 48 __DEVICE__ long abs(long __n) { return ::labs(__n); } 49 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } 50 __DEVICE__ double abs(double __x) { return ::fabs(__x); } 51 __DEVICE__ float acos(float __x) { return ::acosf(__x); } 52 __DEVICE__ float asin(float __x) { return ::asinf(__x); } 53 __DEVICE__ float atan(float __x) { return ::atanf(__x); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
__clang_cuda_cmath.h | 32 // Specifically, the forward-declares header declares __device__ overloads for 45 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline)) 47 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); } 48 __DEVICE__ long abs(long __n) { return ::labs(__n); } 49 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } 50 __DEVICE__ double abs(double __x) { return ::fabs(__x); } 51 __DEVICE__ float acos(float __x) { return ::acosf(__x); } 52 __DEVICE__ float asin(float __x) { return ::asinf(__x); } 53 __DEVICE__ float atan(float __x) { return ::atanf(__x); [all...] |
/prebuilts/clang/host/linux-x86/clang-3289846/lib64/clang/3.8/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
__clang_cuda_cmath.h | 32 // Specifically, the forward-declares header declares __device__ overloads for 45 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline)) 47 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); } 48 __DEVICE__ long abs(long __n) { return ::labs(__n); } 49 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } 50 __DEVICE__ double abs(double __x) { return ::fabs(__x); } 51 __DEVICE__ float acos(float __x) { return ::acosf(__x); } 52 __DEVICE__ float asin(float __x) { return ::asinf(__x); } 53 __DEVICE__ float atan(float __x) { return ::atanf(__x); [all...] |
/prebuilts/sdk/renderscript/clang-include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/lib64/clang/5.0/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/lib64/clang/5.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/lib64/clang/5.0.2/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/lib64/clang/6.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/lib64/clang/6.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/lib64/clang/6.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/lib64/clang/6.0.2/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/lib64/clang/5.0/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/lib64/clang/5.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/lib64/clang/5.0.2/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/lib64/clang/6.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/lib64/clang/6.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/lib64/clang/6.0.1/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/include/ |
__clang_cuda_math_forward_declares.h | 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --=== 32 // absence of a prior __device__ decl, those constexpr functions may become 34 // would preclude the use of our own __device__ overloads for these functions. 36 #pragma push_macro("__DEVICE__") 37 #define __DEVICE__ \ 40 __DEVICE__ double abs(double); 41 __DEVICE__ float abs(float); 42 __DEVICE__ int abs(int); 43 __DEVICE__ long abs(long); 44 __DEVICE__ long long abs(long long) [all...] |
/external/clang/test/SemaCUDA/Inputs/ |
overload.h | 1 // This header is used by tests which are interested in __device__ functions 4 __device__ int OverloadMe();
|
/external/clang/test/SemaCUDA/ |
device-var-init.cu | 18 __device__ int d_v_f = f(); 19 // expected-error@-1 {{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}} 23 // expected-error@-1 {{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}} 28 __device__ EC d_ec_i(3); 29 // expected-error@-1 {{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}} 33 // expected-error@-1 {{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}} 35 __device__ EC d_ec_i2 = {3}; 36 // expected-error@-1 {{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}} 40 // expected-error@-1 {{dynamic initialization is not supported for __device__, __constant__, and __shared__ variables.}} 42 __device__ ETC d_etc_i(3) [all...] |