News for hackers. Stuff that matters.
Re:Ask HN: What are good projects to understand CUDA and GPU... by Const-me on Tuesday October 02, 2018 @05:57AM (#18120139)
Did it couple of times.

One trick is write output pixels transposed. This way both passes will be identical, and they both read image linearly. Two transposes cancel each other.

Another one is use local memory.

Finally, the right place for the kernel values is compiled into the code, in immediate values. Everything else is slower.

There are no comments on this comment yet.