Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dfunction-overload.cu341 template <typename T> TemplateReturnTy template_vs_hd_function(T arg) in template_vs_hd_function() function
346 __host__ __device__ HostDeviceReturnTy template_vs_hd_function(float arg) { in template_vs_hd_function() function
356 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_host_device_calls_hd_template()
357 ExpectedReturnTy ret2 = template_vs_hd_function(1); in test_host_device_calls_hd_template()
362 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_host_calls_hd_template()
363 TemplateReturnTy ret2 = template_vs_hd_function(1); in test_host_calls_hd_template()
367 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_device_calls_hd_template()
370 HostDeviceReturnTy ret2 = template_vs_hd_function(1); in test_device_calls_hd_template()