Code is here: <a href="https:&#x2F;&#x2F;github.com&#x2F;mgravell&#x2F;SimpleCUDAExample" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mgravell&#x2F;SimpleCUDAExample</a><p>Previous articles:<p>Part 1: <a href="http:&#x2F;&#x2F;blog.marcgravell.com&#x2F;2016&#x2F;05&#x2F;how-i-found-cuda-or-rewriting-tag.html" rel="nofollow">http:&#x2F;&#x2F;blog.marcgravell.com&#x2F;2016&#x2F;05&#x2F;how-i-found-cuda-or-rewr...</a><p>Part 2: <a href="http:&#x2F;&#x2F;blog.marcgravell.com&#x2F;2016&#x2F;05&#x2F;how-i-found-cuda-or-rewriting-tag_9.html" rel="nofollow">http:&#x2F;&#x2F;blog.marcgravell.com&#x2F;2016&#x2F;05&#x2F;how-i-found-cuda-or-rewr...</a>