https://hgpu.org/?p=1049
A Memory Model for Scientific Algorithms on Graphics Processors