/external/clang/test/SemaCUDA/ |
D | function-overload.cu | 35 __host__ void hh() {} // expected-note {{previous definition is here}} in hh() 39 __host__ HostReturnTy dh() { return HostReturnTy(); } in dh() 43 __host__ __device__ int hdh() { return 0; } // expected-note {{previous definition is here}} in hdh() 44 __host__ int hdh() { return 0; } // expected-error {{redefinition of 'hdh'}} in hdh() 46 __host__ int hhd() { return 0; } // expected-note {{previous definition is here}} in hhd() 47 __host__ __device__ int hhd() { return 0; } // expected-error {{redefinition of 'hhd'}} in hhd() 51 __host__ __device__ int hdd() { return 0; } // expected-note {{previous definition is here}} in hdd() 55 __host__ __device__ int dhd() { return 0; } // expected-error {{redefinition of 'dhd'}} in dhd() 60 extern "C" __host__ int chh() { return 0; } // expected-note {{previous definition is here}} in chh() 65 extern "C" __host__ HostReturnTy cdh() { return HostReturnTy(); } in cdh() [all …]
|
D | bad-attributes.cu | 16 __host__ int b1; // expected-warning {{attribute only applies to functions}} 17 __host__ void b2(); 28 __device__ __host__ void z1(); 34 __host__ __device__ void z5(); 35 __host__ __global__ void z6(); // expected-error {{attributes are not compatible}} 48 __global__ __host__ void z12(); // expected-error {{attributes are not compatible}}
|
D | function-target.cu | 6 __host__ void h1h(void); 8 __host__ __device__ void h1hd(void); 15 __host__ void h1(void) { in h1() 23 __host__ void d1h(void); // expected-note {{candidate function not viable: call to __host__ functio… 25 __host__ __device__ void d1hd(void);
|
D | overloaded-delete.cu | 9 __host__ static void operator delete(void*, size_t) {} in operator delete() 13 __host__ __device__ void test(S* s) { in test() 19 __host__ void operator delete(void *ptr) {} in operator delete() 22 __host__ __device__ void test_global_delete(int *ptr) { in test_global_delete()
|
D | addr-of-overloaded-fn.cu | 8 __host__ void overload() {} in overload() 11 __host__ __device__ void test_hd() { in test_hd() 19 __host__ void test_host() { in test_host()
|
D | implicit-member-target.cu | 57 __host__ A3_with_device_ctors() {} in A3_with_device_ctors() 101 __host__ A5_copy_ctor_constness() {} in A5_copy_ctor_constness() 102 __host__ A5_copy_ctor_constness(A5_copy_ctor_constness&) {} in A5_copy_ctor_constness() 128 __host__ B6_with_defaulted_ctor() = default;
|
D | host-device-constexpr.cu | 18 __host__ constexpr int HostOnly() { return 0; } in HostOnly() 47 __host__ void HostFn() { in HostFn() 63 __host__ __device__ void HostDeviceFn() { in HostDeviceFn()
|
D | call-overloaded-destructor.cu | 9 __host__ ~S() {} in ~S() 13 __host__ __device__ void test() { in test()
|
D | no-host-device-constexpr.cu | 17 void __host__ foo() { in foo()
|
D | method-target.cu | 46 __host__ __device__ void foo4(S4& s) { in foo4()
|
/external/clang/test/CodeGenCUDA/ |
D | function-overload.cu | 17 __host__ s_cd_dh() { x = 11; } in s_cd_dh() 19 __host__ ~s_cd_dh() { x = 21; } in ~s_cd_dh() 24 __host__ __device__ s_cd_hd() { x = 31; } in s_cd_hd() 25 __host__ __device__ ~s_cd_hd() { x = 32; } in ~s_cd_hd() 32 __host__
|
D | convergent.cu | 24 __host__ __device__ void baz(); 25 __host__ __device__ void bar() { in bar()
|
D | host-device-calls-host.cu | 10 __host__ __device__ void hd_function_a() { in hd_function_a() 19 __host__ __device__ void hd_function_b(bool b) { if (b) host_function(); } in hd_function_b()
|
D | filter-decl.cu | 34 __host__ void explicithostonlyfunc(void) {} in explicithostonlyfunc() 42 __host__ __device__ void hostdevicefunc(void) {} in hostdevicefunc()
|
D | fp-contract.cu | 26 __host__ __device__ float func(float a, float b, float c) { return a + b * c; } in func()
|
/external/clang/test/SemaCUDA/Inputs/ |
D | cuda.h | 11 #define __host__ __attribute__((host)) macro 17 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {} in x()
|
/external/clang/test/PCH/Inputs/ |
D | cuda.h | 8 #define __host__ __attribute__((host)) macro 14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {} in x()
|
/external/clang/test/CodeGenCUDA/Inputs/ |
D | cuda.h | 8 #define __host__ __attribute__((host)) macro 14 __host__ __device__ dim3(unsigned x, unsigned y = 1, unsigned z = 1) : x(x), y(y), z(z) {} in x()
|
/external/clang/lib/Headers/ |
D | __clang_cuda_runtime_wrapper.h | 129 #define __host__ macro 136 #define __host__ UNEXPECTED_HOST_ATTRIBUTE macro 192 #define __host__ macro
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | setup.hpp | 670 # define GLM_CUDA_FUNC_DEF __device__ __host__ 671 # define GLM_CUDA_FUNC_DECL __device__ __host__
|
/external/clang/include/clang/Basic/ |
D | LangOptions.def | 192 LANGOPT(CUDAHostDeviceConstexpr, 1, 1, "treating unattributed constexpr functions as __host__ __dev…
|
D | DiagnosticSemaKinds.td | 3446 "%select{__device__|__global__|__host__|__host__ __device__|invalid}1 function from" 3447 " %select{__device__|__global__|__host__|__host__ __device__|invalid}2 function">; 3456 "%select{__device__|__global__|__host__|__host__ __device__}1 and " 3457 "%select{__device__|__global__|__host__|__host__ __device__}2 members">; 6593 "reference to %select{__device__|__global__|__host__|__host__ __device__}0 " 6594 "function %1 in %select{__device__|__global__|__host__|__host__ __device__}2 function">; 6607 "constexpr function '%0' without __host__ or __device__ attributes cannot " 6608 "overload __device__ function with same signature. Add a __host__ "
|
/external/eigen/Eigen/ |
D | Core | 39 #define EIGEN_DEVICE_FUNC __host__ __device__
|
/external/clang/include/clang/Driver/ |
D | CC1Options.td | 679 HelpText<"Don't treat unattributed constexpr functions as __host__ __device__.">;
|