Home
last modified time | relevance | path

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

/external/clang/test/SemaCUDA/
Dfunction-overload.cu10 struct HostReturnTy {}; struct
17 typedef HostReturnTy (*HostFnPtr)();
27 typedef HostReturnTy CurrentReturnTy;
39 __host__ HostReturnTy dh() { return HostReturnTy(); } in dh()
65 extern "C" __host__ HostReturnTy cdh() { return HostReturnTy(); } in cdh()
82 __host__ HostReturnTy h() { return HostReturnTy(); } in h()
99 extern "C" __host__ HostReturnTy ch() { return HostReturnTy(); } in ch()
112 HostReturnTy ret_h = h(); in hostf()
114 HostReturnTy ret_ch = ch(); in hostf()
117 HostReturnTy ret_dh = dh(); in hostf()
[all …]
Dhost-device-constexpr.cu15 struct HostReturnTy {}; struct
27 constexpr HostReturnTy OverloadMe() { return HostReturnTy(); } in OverloadMe()
32 constexpr HostReturnTy OverloadMe() { return HostReturnTy(); } in OverloadMe()
50 HostReturnTy x = OverloadMe(); in HostFn()
51 HostReturnTy y = ns::OverloadMe(); in HostFn()
67 constexpr HostReturnTy y = OverloadMe(); in HostDeviceFn()