Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/SemaCUDA/
Dfunction-overload.cu22 struct HostDeviceReturnTy {}; struct
27 typedef HostDeviceReturnTy (*HostDeviceFnPtr)();
346 __host__ __device__ HostDeviceReturnTy template_vs_hd_function(float arg) { in template_vs_hd_function()
347 return HostDeviceReturnTy(); in template_vs_hd_function()
352 typedef HostDeviceReturnTy ExpectedReturnTy; in test_host_device_calls_hd_template()
356 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_host_device_calls_hd_template()
362 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); 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()
484 HostDeviceReturnTy callee(int x);
[all …]
/external/clang/test/SemaCUDA/
Dfunction-overload.cu14 struct HostDeviceReturnTy {}; struct
19 typedef HostDeviceReturnTy (*HostDeviceFnPtr)();
347 __host__ __device__ HostDeviceReturnTy template_vs_hd_function(float arg) { in template_vs_hd_function()
348 return HostDeviceReturnTy(); in template_vs_hd_function()
352 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); in test_host_device_calls_hd_template()
357 HostDeviceReturnTy ret1 = template_vs_hd_function(1.0f); 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()