Lines Matching refs:overload_h_d
10 template <typename T> __host__ HType overload_h_d(T a) { return HType(); } in overload_h_d() function
13 template <typename T> __device__ DType overload_h_d(T a) { return DType(); } in overload_h_d() function
18 template __device__ __host__ DType overload_h_d(int a); // There's no HD template...
20 template __device__ __host__ HType overload_h_d(int a); // There's no HD template...
22 template __device__ DType overload_h_d(int a); // OK. instantiates D
23 template __host__ HType overload_h_d(int a); // OK. instantiates H
26 template <> __device__ __host__ DType overload_h_d(long a); // There's no HD template...
28 template <> __device__ __host__ HType overload_h_d(long a); // There's no HD template...
30 template <> __device__ DType overload_h_d(long a); // OK. instantiates D
31 template <> __host__ HType overload_h_d(long a); // OK. instantiates H
90 HType h = overload_h_d(10); in hf()
95 …DType d = overload_h_d(20); // expected-error {{no viable conversion from 'HType' to 'DTy… in hf()
106 …HType h = overload_h_d(10); // expected-error {{no viable conversion from 'DType' to 'HTy… in df()
110 DType d = overload_h_d(20); in df()