CUDA® is a parallel computing platform and programming model developed by NVIDIA. It allows you to significantly improve computing performance by harnessing the power of the graphics processing unit (GPU).
CUDA was developed with several design goals in mind:
GPUs that support CUDA have hundreds of cores that can collectively run thousands of compute threads. These cores share resources, including a register file and shared memory. On-chip shared memory allows parallel tasks running on these cores to communicate without sending them across the system memory bus.
This guide shows you how to install and verify that the CUDA development tools are working properly.
Follow these steps to verify the installation −
Step 1 − Check the version of CUDA toolkit by entering nvcc -V at the command line.
Step 2 − Run deviceQuery.cu located at: C:\ProgramData\NVIDIA Corporation\CUDA Samples\v9.1\bin\ win64\Releaseto view information about your video card. The result will look like this −
Step 3 − Run the throughput test located at C:\ProgramData\NVIDIA Corporation\CUDA Samples\v9.1\bin\win64\Release. This ensures that the host and device can communicate with each other correctly. The output will look like this −
If any of the above tests fail, it means that the toolkit was not installed properly. Repeat the installation following the instructions above.