/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_hip_libdevice_declares.h | 31 __device__ __attribute__((const)) __device__ float __ocml_copysign_f32(float, 33 __device__ float __ocml_cos_f32(float); 35 __device__ __attribute__((pure)) __device__ float __ocml_cosh_f32(float); 37 __device__ float __ocml_i0_f32(float); 38 __device__ float __ocml_i1_f32(float); 56 __device__ __attribute__((const)) __device__ float __ocml_fmod_f32(float, 65 __device__ float __ocml_j0_f32(float); 66 __device__ float __ocml_j1_f32(float); 224 __device__ double 312 __device__ __attribute__((const)) [all …]
|
H A D | __clang_cuda_intrinsics.h | 214 inline __device__ unsigned int __activemask() { in __activemask() 237 inline __device__ unsigned int 242 inline __device__ unsigned int 247 inline __device__ unsigned int 292 inline __device__ char2 __ldg(const char2 *ptr) { in __ldg() 331 inline __device__ int2 __ldg(const int2 *ptr) { in __ldg() 339 inline __device__ int4 __ldg(const int4 *ptr) { in __ldg() 570 __device__ inline void * 598 __device__ inline uint2 609 __device__ inline dim3 __clusterDim() { in __clusterDim() [all …]
|
H A D | __clang_hip_runtime_wrapper.h | 22 #define __device__ __attribute__((device)) macro 37 __device__ void __cxa_pure_virtual(void) { in __cxa_pure_virtual() 43 __device__ void __cxa_deleted_virtual(void) { in __cxa_deleted_virtual() 63 __device__ void __ockl_dm_dealloc(unsigned long long __addr); 67 __device__ void __asan_free_impl(unsigned long long __addr, 73 __attribute__((noinline, weak)) __device__ void free(void *__ptr) { in free() 81 __attribute__((weak)) inline __device__ void free(void *__ptr) { in free() 87 __device__ void *__hip_malloc(__hip_size_t __size); 88 __device__ void *__hip_free(void *__ptr); 92 __attribute__((weak)) inline __device__ void free(void *__ptr) { [all …]
|
H A D | __clang_cuda_runtime_wrapper.h | 246 static inline __device__ void __brkpt(int __c) { __brkpt(); } in __brkpt() 404 __device__ int vprintf(const char *, const char *); 405 __device__ void free(void *) __attribute((nothrow)); 418 __device__ static inline void __assert_fail(const char *__message, in __assert_fail() 426 __device__ int printf(const char *, ...); 431 __device__ static inline void free(void *__ptr) { ::free(__ptr); } in free() 432 __device__ static inline void *malloc(size_t __size) { in malloc() 448 __device__ inline __cuda_builtin_blockIdx_t::operator dim3() const { in dim3() 456 __device__ inline __cuda_builtin_blockDim_t::operator dim3() const { in dim3() 464 __device__ inline __cuda_builtin_gridDim_t::operator dim3() const { in dim3() [all …]
|
H A D | __clang_cuda_texture_intrinsics.h | 209 __device__ __rt __run<__dt>(cudaTextureObject_t __obj, __L(__args)) { \ 484 __device__ static float4 __run(cudaTextureObject_t __obj, float __x, 639 __device__ static __DestT __run(__SrcT __v); 641 template <> __device__ static __DestT __run<2>(__SrcT __v) { 644 template <> __device__ static __DestT __run<3>(__SrcT __v) { 647 template <> __device__ static __DestT __run<4>(__SrcT __v) { 662 __device__ static void __tex_fetch(__T *__ptr, cudaTextureObject_t __handle, 675 __device__ cudaTextureObject_t __tex_handle_to_obj(__T __handle) { 684 __device__ static void __tex_fetch(__T *__ptr, __HandleT __handle, 695 __device__ static void [all …]
|
H A D | __clang_hip_stdlib.h | 22 #define __DEVICE__ static __device__ inline __attribute__((always_inline))
|
H A D | __clang_cuda_complex_builtins.h | 23 #define __DEVICE__ __device__ inline
|
H A D | __clang_hip_math.h | 29 #define __DEVICE__ static __device__ inline __attribute__((always_inline)) 61 static const __device__ bool valid;
|
H A D | __clang_cuda_cmath.h | 38 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline))
|
H A D | __clang_cuda_math.h | 32 #define __DEVICE__ static __device__ __forceinline__
|
H A D | __clang_cuda_libdevice_declares.h | 21 #define __DEVICE__ __device__
|
H A D | __clang_hip_cmath.h | 33 #define __DEVICE__ static __device__ inline __attribute__((always_inline))
|
H A D | __clang_cuda_device_functions.h | 26 #define __DEVICE__ static __device__ __forceinline__
|
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/ |
H A D | new | 29 #if !defined(__device__) 44 __device__ inline void *operator new(__SIZE_TYPE__ size) { 50 __device__ inline void *operator new(__SIZE_TYPE__ size, 55 __device__ inline void *operator new[](__SIZE_TYPE__ size) { 58 __device__ inline void *operator new[](__SIZE_TYPE__ size, 63 __device__ inline void operator delete(void* ptr) CUDA_NOEXCEPT { 68 __device__ inline void operator delete(void *ptr, 76 __device__ inline void operator delete[](void *ptr, 83 __device__ inline void operator delete(void *ptr, 87 __device__ inline void operator delete[](void *ptr, [all …]
|
H A D | algorithm | 27 // This header defines __device__ overloads of std::min/max. 30 // these functions are constexpr, and so are implicitly __host__ __device__. 49 // Therefore we perpetrate the following hack: We mark our __device__ overloads 52 // overload resolution will prefer it over the __host__ __device__ version 79 inline _CPP14_CONSTEXPR __host__ __device__ const __T & 86 inline _CPP14_CONSTEXPR __host__ __device__ const __T & 93 inline _CPP14_CONSTEXPR __host__ __device__ const __T & 100 inline _CPP14_CONSTEXPR __host__ __device__ const __T &
|
H A D | complex | 28 // __device__. 53 // __host__ __device__ void complex<float> sin(const complex<float>& x) { 59 // void __host__ __device__ complex<T> sin(const complex<T>& x) {
|
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | __clang_openmp_device_functions.h | 48 #define __device__ macro
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DiagnosticSemaKinds.td | 4851 "%select{__device__|__global__|__host__|__host__ __device__|invalid}3 function from" 4852 " %select{__device__|__global__|__host__|__host__ __device__|invalid}4 function">; 4860 "%select{__device__|__global__|__host__|__host__ __device__}1 and " 4861 "%select{__device__|__global__|__host__|__host__ __device__}2 members">; 8830 "reference to %select{__device__|__global__|__host__|__host__ __device__}0 " 8837 "reference to %select{__device__|__global__|__host__|__host__ __device__}0 " 8864 "%select{__device__|__global__|__host__|__host__ __device__}1 function">; 8872 "%select{__device__|__global__|__host__|__host__ __device__}0 functions">; 8876 "%select{__device__|__global__|__host__|__host__ __device__}0 functions">; 8880 "%select{__device__|__global__|__host__|__host__ __device__}0 function %1 " [all …]
|
H A D | LangOptions.def | 273 …(CUDAHostDeviceConstexpr, 1, 1, "treating unattributed constexpr functions as __host__ __device__")
|
H A D | Attr.td | 1271 let Spellings = [GNU<"device">, Declspec<"__device__">];
|
/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | Options.td | 7790 HelpText<"Don't treat unattributed constexpr functions as __host__ __device__.">,
|