NVIDIA CUDA C Programming Guide Version 3.2

This guide details the CUDA programming model, memory hierarchy, and API for general-purpose parallel computing on NVIDIA GPUs.


NVIDIA CUDA C Programming Guide Version 3.2 - cover page
Brand
Nvidia
Document type
Programming Manual
Language
English
Pages
183
File format
PDF
File size
3.2 MB
Published
20 October, 2026
Updated
20 October, 2026
MD5 checksum
D95EB969E975DDFAC0D4675BF85AEC92

About this manual

The document serves as a comprehensive reference for developers using NVIDIA CUDA technology to perform general-purpose parallel computing. It covers the transition from graphics processing to compute architectures, explaining the scalable programming model and thread hierarchies required for efficient GPU utilization.

Key technical areas addressed include the full memory hierarchy (global, shared, texture, surface), asynchronous concurrent execution via streams and events, and interoperability with OpenGL and Direct3D. The guide also provides detailed specifications on hardware implementation, performance optimization strategies, and language extensions specific to CUDA C.

What's inside

  • Programming Model
  • Memory Hierarchy
  • Asynchronous Concurrent Execution
  • Graphics Interoperability
  • Hardware Implementation
  • Performance Guidelines
  • CUDA-Enabled GPUs
  • C Language Extensions
  • Compute Capabilities

Specifications

Maximum threads per block (2.x)1024
Warp size32
Maximum shared memory (2.x)48 KB

Frequently asked questions

What is the maximum number of threads allowed in a single block?

The maximum number of threads per block is 512 for compute capability 1.x devices and 1024 for compute capability 2.x devices.

What is the maximum amount of shared memory available per multiprocessor?

The maximum amount of shared memory is 16 KB for compute capability 1.x devices and 48 KB for compute capability 2.x devices.

Which compute capabilities support double-precision floating-point numbers?

Only devices with compute capability 2.x support double-precision floating-point numbers, while compute capability 1.x devices do not.

Download PDF (3.2 MB)

More Nvidia Manuals


View all Nvidia manuals →