Lines Matching defs:void

23 __host__ int hh(void) { return 1; } // expected-note {{previous definition is here}}  in hh()  argument
24 int hh(void) { return 1; } // expected-error {{redefinition of 'hh'}} in hh() argument
27 __host__ int dh(void) { return 2; } in dh() argument
28 __device__ int dh(void) { return 2; } in dh() argument
31 __host__ __device__ int hdh(void) { return 5; } // expected-note {{previous definition is here}} in hdh() argument
32 __host__ int hdh(void) { return 4; } // expected-error {{redefinition of 'hdh'}} in hdh() argument
34 __host__ int hhd(void) { return 4; } // expected-note {{previous definition is here}} in hhd() argument
35 __host__ __device__ int hhd(void) { return 5; } // expected-error {{redefinition of 'hhd'}} in hhd() argument
39 __host__ __device__ int hdd(void) { return 7; } // expected-note {{previous definition is here}} in hdd() argument
40 __device__ int hdd(void) { return 6; } // expected-error {{redefinition of 'hdd'}} in hdd() argument
42 __device__ int dhd(void) { return 6; } // expected-note {{previous definition is here}} in dhd() argument
43 __host__ __device__ int dhd(void) { return 7; } // expected-error {{redefinition of 'dhd'}} in dhd() argument
48 extern "C" __host__ int chh(void) {return 11;} // expected-note {{previous definition is here}} in chh() argument
49 extern "C" int chh(void) {return 11;} // expected-error {{redefinition of 'chh'}} in chh() argument
52 extern "C" __device__ int cdh(void) {return 10;} in cdh() argument
53 extern "C" __host__ int cdh(void) {return 11;} in cdh() argument
56 extern "C" __host__ __device__ int chhd1(void) {return 12;} // expected-note {{previous definition … in chhd1() argument
57 extern "C" __host__ int chhd1(void) {return 13;} // expected-error {{redefinition of 'chhd1'}} in chhd1() argument
59 extern "C" __host__ int chhd2(void) {return 13;} // expected-note {{previous definition is here}} in chhd2() argument
60 extern "C" __host__ __device__ int chhd2(void) {return 12;} // expected-error {{redefinition of 'ch… in chhd2() argument
65 __device__ int d(void) { return 8; } in d() argument
66 __host__ int h(void) { return 9; } in h() argument
67 __global__ void g(void) {} in g() argument
68 extern "C" __device__ int cd(void) {return 10;} in cd() argument
69 extern "C" __host__ int ch(void) {return 11;} in ch() argument
71 __host__ void hostf(void) { in hostf() argument
103 __device__ void devicef(void) { in devicef() argument
137 __global__ void globalf(void) { in globalf() argument
171 __host__ __device__ void hostdevicef(void) { in hostdevicef() argument