CUDA C++ provides a simple path for users familiar with the C++ programming language to easily write programs for execution by the device.
It consists of a minimal set of extensions to the C++ language and a runtime library.
The core language extensions have been introduced in Programming Model. They allow programmers to define a kernel as a C++ function and use some new syntax to specify the grid and block dimension each time the function is called. A complete description of all extensions can be found in C++ Language Extensions. Any source file that contains some of these extensions must be compiled with nvcc as outlined in Compilation with NVCC.
Five parts are included.
- Compilation with NVCC
- CUDA Runtime
- External Resource Interoperability
- Versioning and Compatibility
- compute Modes
- Mode Switches
- Tesla Compute Cluster Mode for windows