Hey guys, I did a video walkthrough of the default code that appears when you start a new CUDA project in CUDA Toolkit 9.0. Hopefully it will help you to better understand what is going on in the background and how this thing all works.
If you need to install CUDA Toolkit 9.0, visit this link: http://cudaeducation.com/howtoprogramcuda/
Remember to donate to the cause. Donate using the link in the sidebar.