Home
last modified time | relevance | path

Searched refs:overload_h_d2 (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/test/SemaCUDA/
Dfunction-template-overload.cu56 template <typename T> __host__ HType overload_h_d2(T a) { return HType(); } in overload_h_d2() function
57 template <typename T> __host__ __device__ HDType overload_h_d2(T a) { return HDType(); } in overload_h_d2() function
58 template <typename T1, typename T2 = int> __device__ DType overload_h_d2(T1 a) { T1 x; T2 y; return… in overload_h_d2() function
91 HType h2i = overload_h_d2<int>(11); in hf()
92 HType h2ii = overload_h_d2<int>(12); in hf()
96 …DType d2i = overload_h_d2<int>(21); // expected-error {{no viable conversion from 'HType' to 'DTy… in hf()
97 …DType d2ii = overload_h_d2<int>(22); // expected-error {{no viable conversion from 'HType' to 'DTy… in hf()
107 …HType h2i = overload_h_d2<int>(11); // expected-error {{no viable conversion from 'DType' to 'HTy… in df()
108 …HType h2ii = overload_h_d2<int>(12); // expected-error {{no viable conversion from 'DType' to 'HTy… in df()
111 DType d2i = overload_h_d2<int>(21); in df()
[all …]