Lines Matching refs:HostReturnTy
18 struct HostReturnTy {}; struct
25 typedef HostReturnTy (*HostFnPtr)();
35 typedef HostReturnTy CurrentReturnTy;
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()
127 HostReturnTy ret_cdh = cdh(); in hostf()
141 HostReturnTy ret_h = h(); // devdefer-error {{no matching function for call to 'h'}} in devicef()
143 HostReturnTy ret_ch = ch(); // devdefer-error {{no matching function for call to 'ch'}} in devicef()
162 HostReturnTy ret_h = h(); // devdefer-error {{no matching function for call to 'h'}} in globalf()
164 HostReturnTy ret_ch = ch(); // devdefer-error {{no matching function for call to 'ch'}} in globalf()
189 HostReturnTy ret_h = h(); in hostdevicef()
191 HostReturnTy ret_ch = ch(); in hostdevicef()
382 __host__ HostReturnTy host_only_function(int arg) { return HostReturnTy(); } in host_only_function()
396 HostReturnTy ret3 = host_only_function(1); in test_host_device_single_side_overloading()
409 HostReturnTy ret3 = host_only_function(1); in test_host_device_wrong_side_overloading_inline_no_diag()
422 HostReturnTy ret3 = host_only_function(1); in test_host_device_wrong_side_overloading_inline_diag()
482 HostReturnTy callee(double x);
485 inline HostReturnTy implicit_hd_caller() { in implicit_hd_caller()
496 HostReturnTy callee(int x);
511 HostReturnTy callee(double x);
516 typedef HostReturnTy ExpectedRetTy;