https://developer.nvidia.com/how-to-cuda-c-cppand an article linked from the above page:https://devblogs.nvidia.com/parallelforall/even-easier-introduction-cuda/