/external/clang/test/SemaCUDA/Inputs/ |
overload.h | 1 // This header is used by tests which are interested in __device__ functions 4 __device__ int OverloadMe();
|
cuda-initializers.h | 14 __device__ EC() {} // -- allowed 15 __device__ EC(int) {} // -- not allowed 20 __device__ ~ED() {} // -- allowed 24 __device__ ECD() {} // -- allowed 25 __device__ ~ECD() {} // -- allowed 30 template <typename... T> __device__ ETC(T...) {} 36 __device__ UC(); 42 __device__ ~UD(); 48 __device__ ECI() : eci(1) {} 54 __device__ NEC() { nec = 1; [all...] |
/external/clang/test/CodeGenCUDA/Inputs/ |
cuda-initializers.h | 14 __device__ EC() {} // -- allowed 15 __device__ EC(int) {} // -- not allowed 20 __device__ ~ED() {} // -- allowed 24 __device__ ECD() {} // -- allowed 25 __device__ ~ECD() {} // -- allowed 30 template <typename... T> __device__ ETC(T...) {} 36 __device__ UC(); 42 __device__ ~UD(); 48 __device__ ECI() : eci(1) {} 54 __device__ NEC() { nec = 1; [all...] |
cuda.h | 6 #define __device__ __attribute__((device)) macro 14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {} 22 extern "C" __device__ int printf(const char*, ...);
|
/prebuilts/clang/host/darwin-x86/clang-3688880/lib64/clang/4.0/include/cuda_wrappers/ |
new | 37 __device__ inline void *operator new(__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 40 __device__ inline void *operator new[](__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 43 __device__ inline void operator delete(void *, void *) CUDA_NOEXCEPT {} 44 __device__ inline void operator delete[](void *, void *) CUDA_NOEXCEPT {}
|
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/cuda_wrappers/ |
new | 37 __device__ inline void *operator new(__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 40 __device__ inline void *operator new[](__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 43 __device__ inline void operator delete(void *, void *) CUDA_NOEXCEPT {} 44 __device__ inline void operator delete[](void *, void *) CUDA_NOEXCEPT {}
|
/prebuilts/clang/host/linux-x86/clang-3688880/lib64/clang/4.0/include/cuda_wrappers/ |
new | 37 __device__ inline void *operator new(__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 40 __device__ inline void *operator new[](__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 43 __device__ inline void operator delete(void *, void *) CUDA_NOEXCEPT {} 44 __device__ inline void operator delete[](void *, void *) CUDA_NOEXCEPT {}
|
/prebuilts/clang/host/linux-x86/clang-3859424/lib64/clang/4.0/include/cuda_wrappers/ |
new | 37 __device__ inline void *operator new(__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 40 __device__ inline void *operator new[](__SIZE_TYPE__, void *__ptr) CUDA_NOEXCEPT { 43 __device__ inline void operator delete(void *, void *) CUDA_NOEXCEPT {} 44 __device__ inline void operator delete[](void *, void *) CUDA_NOEXCEPT {}
|
/prebuilts/clang/host/darwin-x86/clang-3016494/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 37 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 38 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 39 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 40 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); } 41 inline __device__ long long __ldg(const long long *ptr) { 44 inline __device__ unsigned char __ldg(const unsigned char *ptr) { 47 inline __device__ unsigned short __ldg(const unsigned short *ptr) { 50 inline __device__ unsigned int __ldg(const unsigned int *ptr) { 53 inline __device__ unsigned long __ldg(const unsigned long *ptr) { 56 inline __device__ unsigned long long __ldg(const unsigned long long *ptr) [all...] |
__clang_cuda_runtime_wrapper.h | 112 // FIXME: redefine these as __device__ functions. 123 // We need decls for functions in CUDA's libdevice with __device__ 124 // attribute only. Alas they come either as __host__ __device__ or 127 // decls with __device__ attribute. 139 // __forceinline__' (with no __device__) for definitions of device 141 // __device__. 143 #define __forceinline__ __device__ __inline__ __attribute__((always_inline)) 184 static inline __device__ void __brkpt(int __c) { __brkpt(); } 211 // math_functions.hpp defines ::signbit as a __host__ __device__ function. This 241 __device__ int vprintf(const char *, const char *) [all...] |
/prebuilts/clang/host/linux-x86/clang-3016494/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 37 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 38 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 39 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 40 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); } 41 inline __device__ long long __ldg(const long long *ptr) { 44 inline __device__ unsigned char __ldg(const unsigned char *ptr) { 47 inline __device__ unsigned short __ldg(const unsigned short *ptr) { 50 inline __device__ unsigned int __ldg(const unsigned int *ptr) { 53 inline __device__ unsigned long __ldg(const unsigned long *ptr) { 56 inline __device__ unsigned long long __ldg(const unsigned long long *ptr) [all...] |
/external/clang/lib/Headers/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
__clang_cuda_runtime_wrapper.h | 112 // FIXME: redefine these as __device__ functions. 123 // We need decls for functions in CUDA's libdevice with __device__ 124 // attribute only. Alas they come either as __host__ __device__ or 127 // decls with __device__ attribute. 139 // __forceinline__' (with no __device__) for definitions of device 141 // __device__. 143 #define __forceinline__ __device__ __inline__ __attribute__((always_inline)) 184 static inline __device__ void __brkpt(int __c) { __brkpt(); } 212 // math_functions.hpp defines ::signbit as a __host__ __device__ function. This 242 __device__ int vprintf(const char *, const char *) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3217047/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
__clang_cuda_runtime_wrapper.h | 112 // FIXME: redefine these as __device__ functions. 123 // We need decls for functions in CUDA's libdevice with __device__ 124 // attribute only. Alas they come either as __host__ __device__ or 127 // decls with __device__ attribute. 139 // __forceinline__' (with no __device__) for definitions of device 141 // __device__. 143 #define __forceinline__ __device__ __inline__ __attribute__((always_inline)) 184 static inline __device__ void __brkpt(int __c) { __brkpt(); } 212 // math_functions.hpp defines ::signbit as a __host__ __device__ function. This 242 __device__ int vprintf(const char *, const char *) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3362437/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3688880/lib64/clang/4.0/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/linux-x86/clang-3217047/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/linux-x86/clang-3289846/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/linux-x86/clang-3362437/lib64/clang/3.8/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/linux-x86/clang-3688880/lib64/clang/4.0/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/clang/host/linux-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |
/prebuilts/sdk/renderscript/clang-include/ |
__clang_cuda_intrinsics.h | 38 inline __device__ int __FnName(int __in, int __offset, \ 43 inline __device__ float __FnName(float __in, int __offset, \ 48 inline __device__ unsigned int __FnName(unsigned int __in, int __offset, \ 53 inline __device__ long long __FnName(long long __in, int __offset, \ 68 inline __device__ unsigned long long __FnName( \ 73 inline __device__ double __FnName(double __in, int __offset, \ 103 inline __device__ char __ldg(const char *ptr) { return __nvvm_ldg_c(ptr); } 104 inline __device__ short __ldg(const short *ptr) { return __nvvm_ldg_s(ptr); } 105 inline __device__ int __ldg(const int *ptr) { return __nvvm_ldg_i(ptr); } 106 inline __device__ long __ldg(const long *ptr) { return __nvvm_ldg_l(ptr); [all...] |