Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dfunction-overload.cu436 template <typename T> __host__ T template_overload(const T &a) { return a; }; in template_overload() function
437 template <typename T> __device__ T template_overload(const T &a) { return a; }; in template_overload() function
440 template_overload(1); // OK. Attribute-based overloading picks __host__ variant. in test_host_template_overload()
443 template_overload(1); // OK. Attribute-based overloading picks __device__ variant. in test_device_template_overload()