statically linking c programs with cuda , a simple tutorial
I love statically linked programs, the final binaries are self contained, easy to use and portable , however i couldn't find a simple tutorial on how to do it for C and cuda (maybe i didn't look hard enough?), so this is a tutorial showing a simple C program that adds vectors, optionally it can be statically linked with cuda for GPU acceleration.this guide is not meant to be in-depth, just something to get you started! , please consult the official docs! for in-depth information