Home
last modified time | relevance | path

Searched refs:HostReturnTy (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dfunction-overload.cu18 struct HostReturnTy {}; struct
47 __host__ HostReturnTy dh() { return HostReturnTy(); } in dh()
73 extern "C" __host__ HostReturnTy cdh() { return HostReturnTy(); } in cdh()
90 __host__ HostReturnTy h() { return HostReturnTy(); } in h()
107 extern "C" __host__ HostReturnTy ch() { return HostReturnTy(); } in ch()
120 HostReturnTy ret_h = h(); in hostf()
122 HostReturnTy ret_ch = ch(); in hostf()
125 HostReturnTy ret_dh = dh(); in hostf()
189 HostReturnTy ret_h = h(); in hostdevicef()
382 __host__ HostReturnTy host_only_function(int arg) { return HostReturnTy(); } in host_only_function()
[all …]
H A Dhost-device-constexpr.cu20 struct HostReturnTy {}; struct
32 constexpr HostReturnTy OverloadMe() { return HostReturnTy(); } in OverloadMe()
37 constexpr HostReturnTy OverloadMe() { return HostReturnTy(); } in OverloadMe()
55 HostReturnTy x = OverloadMe(); in HostFn()
56 HostReturnTy y = ns::OverloadMe(); in HostFn()
72 constexpr HostReturnTy y = OverloadMe(); in HostDeviceFn()