Lines Matching refs:overload
307 However, nvcc allows you to "overload" H and D functions with different
342 overload resolution. See `IdentifyCUDAPreference
371 foo(); // calls H overload
372 bar(); // calls H overload
376 foo(); // calls D overload
377 bar(); // calls HD overload
381 foo(); // calls H overload when compiling for host, otherwise D overload
382 bar(); // always calls HD overload
447 // have ifdef'ed away the __device__ overload of S::foo(). The __device__
448 // overload must be present *even during host compilation*.
474 you to overload based on the H/D attributes. Here's an idiom that works with