Installing the CUDA Toolkit (Windows)

In the case of Windows users, you can install the package by double-clicking on the .exe file and following all the on-screen prompts.

Once the installation is complete, reset your system. We will now ensure that CUDA was installed correctly by checking the nvcc compiler. Under the Start menu, click on the Visual Studio 2015 folder, and then click VS2015 x64 Native Tools Command Prompt. A Terminal window will pop up; now type nvcc --version and press Enter, which should give you the version information of the NVIDIA compiler.

Get Hands-On GPU Programming with Python and CUDA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.