C++ - NVIDIA CUDA - Using the compute_xy and sm_xy compile options to generate an executable
To use an NVIDIA GPU (the graphic card processor) you need a CUDA driver. And if you want to compile a program for a GPU you’ll have to use the CUDA toolkit. In this tutorial we’re going to see how to compile your project in order to generate an executable able to function on all available NVIDIA GPU (past, present and future). By saying “all” we say not deprecated yet of course. ...