Home
last modified time | relevance | path

Searched refs:__host__ (Results 1 – 9 of 9) sorted by relevance

/src/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dalgorithm30 // these functions are constexpr, and so are implicitly __host__ __device__.
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 Dcomplex27 // Wrapper around <complex> that forces its functions to be __host__
53 // __host__ __device__ void complex<float> sin(const complex<float>& x) {
59 // void __host__ __device__ complex<T> sin(const complex<T>& x) {
65 // __host__ code to sin() will still resolve to *something*, even if they don't
/src/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_runtime_wrapper.h144 inline __host__ double __signbitd(double x) { in __signbitd()
185 #define __host__ UNEXPECTED_HOST_ATTRIBUTE macro
254 #define __host__ macro
374 __host__ __device__ void __nv_tex_surf_handler(const char *name, T *ptr, in __nv_tex_surf_handler()
H A D__clang_hip_runtime_wrapper.h21 #define __host__ __attribute__((host)) macro
H A D__clang_hip_math.h1310 __host__ inline static int min(int __arg1, int __arg2) {
1314 __host__ inline static int max(int __arg1, int __arg2) {
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticSemaKinds.td4947 "%select{__device__|__global__|__host__|__host__ __device__|invalid}3 function from"
4948 " %select{__device__|__global__|__host__|__host__ __device__|invalid}4 function">;
4956 "%select{__device__|__global__|__host__|__host__ __device__}1 and "
4957 "%select{__device__|__global__|__host__|__host__ __device__}2 members">;
9009 "reference to %select{__device__|__global__|__host__|__host__ __device__}0 "
9010 …"%select{function|variable}1 %2 in %select{__device__|__global__|__host__|__host__ __device__}3 fu…
9016 "reference to %select{__device__|__global__|__host__|__host__ __device__}0 "
9036 "constexpr function %0 without __host__ or __device__ attributes cannot "
9037 "overload __device__ function with the same signature; add a __host__ "
9043 "%select{__device__|__global__|__host__|__host__ __device__}1 function">;
[all …]
H A DLangOptions.def289 LANGOPT(CUDAHostDeviceConstexpr, 1, 1, "treating unattributed constexpr functions as __host__ __dev…
H A DAttr.td1395 let Spellings = [GNU<"host">, Declspec<"__host__">];
/src/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td8109 HelpText<"Don't treat unattributed constexpr functions as __host__ __device__.">,