CUDA Pro Tip: Flush Denormals with Confidence

Originally published at: https://developer.nvidia.com/blog/cuda-pro-tip-flush-denormals-confidence/

I want to keep this post fairly brief, so I will only give minimal background on floating point numbers. If you need a refresher on floating point representation, I recommend starting with the Wikipedia entry on floating point, and for more detail about NVIDIA GPU floating point, check out this excellent white paper. The Wikipedia entry…