Home
last modified time | relevance | path

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

/aosp_15_r20/external/clang/test/SemaCUDA/
H A Dfunction-overload.cu344 template <typename T> TemplateReturnTy template_vs_hd_function(T arg) { in template_vs_hd_function() function
347 __host__ __device__ HostDeviceReturnTy template_vs_hd_function(float arg) { in template_vs_hd_function() function
352 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_host_device_calls_hd_template()
353 TemplateReturnTy ret2 = template_vs_hd_function(1); in test_host_device_calls_hd_template()
357 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_host_calls_hd_template()
358 TemplateReturnTy ret2 = template_vs_hd_function(1); in test_host_calls_hd_template()
362 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_device_calls_hd_template()
365 HostDeviceReturnTy ret2 = template_vs_hd_function(1); in test_device_calls_hd_template()