Searched refs:host_only (Results 1 – 4 of 4) sorted by relevance
19 void host_only() {} in host_only() function24 host_only(); // expected-error {{no matching function for call}} in device()
204 def run_shellball(self, append, wp, host_only=False): argument214 if host_only:244 elif host_only:341 errors += self.run_shellball('old', wp=1, host_only=True)
391 __host__ void host_only();397 inline __host__ __device__ void inline_hd1() { host_only(); } // no error398 inline __host__ __device__ void inline_hd2() { host_only(); } // error405 __host__ __device__ void not_inline_hd() { host_only(); }414 call to ``host_only`` entirely, or it may try to generate code for415 ``host_only`` on the device. What you get seems to depend on whether or not416 the compiler chooses to inline ``host_only``.442 __host__ void foo() { /* use host_only */ }443 double host_only;
81 if not args.host_only: