https://hgpu.org/?p=8388
A short guide to CUDA C: For physicists with multi-core graphics cards