Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/SemaCUDA/
Dfunction-template-overload.cu10 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
[all …]