cuda sample using __ldg()..?


Does one of the cuda samples use __ldg() somewhere in the code…?

I did a quick find on Windows and it doesn’t seem like any of the CUDA 5.5 or 6.0 samples use it.

Here’s some past threads that lalk about that instruction, in case they happen to answer your question:

Here’s a slideshow with a small example:
Pretty much the same as above, maybe on different hardware? looked the same at first glance:

library that templates ldg instruction for other non-native types: