Lines Matching refs:overload
309 However, nvcc allows you to "overload" H and D functions with different
344 overload resolution. See `IdentifyCUDAPreference
373 foo(); // calls H overload
374 bar(); // calls H overload
378 foo(); // calls D overload
379 bar(); // calls HD overload
383 foo(); // calls H overload when compiling for host, otherwise D overload
384 bar(); // always calls HD overload
449 // have ifdef'ed away the __device__ overload of S::foo(). The __device__
450 // overload must be present *even during host compilation*.
476 you to overload based on the H/D attributes. Here's an idiom that works with