Lines Matching refs:__host__

23 __host__ int hh(void) { return 1; } // expected-note {{previous definition is here}}  in hh()
27 __host__ int dh(void) { return 2; } in dh()
31 __host__ __device__ int hdh(void) { return 5; } // expected-note {{previous definition is here}} in hdh()
32 __host__ int hdh(void) { return 4; } // expected-error {{redefinition of 'hdh'}} in hdh()
34 __host__ int hhd(void) { return 4; } // expected-note {{previous definition is here}} in hhd()
35 __host__ __device__ int hhd(void) { return 5; } // expected-error {{redefinition of 'hhd'}} in hhd()
39 __host__ __device__ int hdd(void) { return 7; } // expected-note {{previous definition is here}} in hdd()
43 __host__ __device__ int dhd(void) { return 7; } // expected-error {{redefinition of 'dhd'}} in dhd()
48 extern "C" __host__ int chh(void) {return 11;} // expected-note {{previous definition is here}} in chh()
53 extern "C" __host__ int cdh(void) {return 11;} in cdh()
56 extern "C" __host__ __device__ int chhd1(void) {return 12;} // expected-note {{previous definition … in chhd1()
57 extern "C" __host__ int chhd1(void) {return 13;} // expected-error {{redefinition of 'chhd1'}} in chhd1()
59 extern "C" __host__ int chhd2(void) {return 13;} // expected-note {{previous definition is here}} in chhd2()
60 extern "C" __host__ __device__ int chhd2(void) {return 12;} // expected-error {{redefinition of 'ch… in chhd2()
66 __host__ int h(void) { return 9; } in h()
69 extern "C" __host__ int ch(void) {return 11;} in ch()
71 __host__ void hostf(void) { in hostf()
171 __host__ __device__ void hostdevicef(void) { in hostdevicef()
241 __host__ ~d_h() {} // expected-error {{destructor cannot be redeclared}} in ~d_h()
247 __host__ ~d_dh() {} in ~d_dh()
252 __host__ __device__ ~d_hd() {} in ~d_hd()
258 __host__ ~d_dhhd() {} // expected-note {{previous declaration is here}} in ~d_dhhd()
259 __host__ __device__ ~d_dhhd() {} // expected-error {{destructor cannot be redeclared}} in ~d_dhhd()
263 __host__ ~d_hhd() {} // expected-note {{previous declaration is here}} in ~d_hhd()
264 __host__ __device__ ~d_hhd() {} // expected-error {{destructor cannot be redeclared}} in ~d_hhd()
268 __host__ __device__ ~d_hdh() {} // expected-note {{previous declaration is here}} in ~d_hdh()
269 __host__ ~d_hdh() {} // expected-error {{destructor cannot be redeclared}} in ~d_hdh()
274 __host__ __device__ ~d_dhd() {} // expected-error {{destructor cannot be redeclared}} in ~d_dhd()
278 __host__ __device__ ~d_hdd() {} // expected-note {{previous declaration is here}} in ~d_hdd()
285 __host__ void operator delete(void *ptr); // expected-error {{class member cannot be redeclared}}
291 __host__ void operator delete(void *ptr);
296 __device__ __host__ void operator delete(void *ptr);
300 __host__ void operator delete(void *ptr) {} // expected-note {{previous declaration is here}} in operator delete()
301__host__ __device__ void operator delete(void *ptr) {} // expected-error {{class member cannot be … in operator delete()
305__host__ __device__ void operator delete(void *ptr) {} // expected-note {{previous declaration is … in operator delete()
306__host__ void operator delete(void *ptr) {} // expected-error {{class member cannot be redeclared}} in operator delete()
311__host__ __device__ void operator delete(void *ptr) {} // expected-error {{class member cannot be … in operator delete()
315__host__ __device__ void operator delete(void *ptr) {} // expected-note {{previous declaration is … in operator delete()