NVIDIA CUDA Programming Guide

NVIDIA CUDA Programming Guide is an official NVIDIA CUDA programming guide that introduces CUDA programming model, hardware implementation and API.


NVIDIA CUDA Programming Guide - cover page
Brand
Nvidia
Document type
Programming Manual
Language
Chinese
Pages
136
File format
PDF
File size
6.4 MB
Published
16 December, 2011
Updated
30 September, 2023
MD5 checksum
F9F59672E1CBF8CC7614F7FC1375C6FB

About this manual

This guide introduces the CUDA parallel computing architecture and its programming model, covering threads, blocks, grids, and memory hierarchy. It also describes the CUDA hardware implementation and device compatibility.

Subsequent chapters detail the CUDA runtime and driver APIs, including function qualifiers, memory management, texture handling, and interoperability with OpenGL and Direct3D. The document concludes with performance guidance, a matrix multiplication example, and technical specifications of CUDA-capable devices. This manual is written in Chinese.

What's inside

  • Introduction
  • Programming Model
  • Hardware Implementation
  • API Reference
  • Performance Guidance
  • Matrix Multiplication Example
  • Technical Specifications
  • Appendices

Specifications

Maximum threads per block512
Maximum block dimensions (x, y, z)512 × 512 × 64
Warp size32 threads
Registers per multiprocessor8192
Shared memory per multiprocessor16 KB

Frequently asked questions

What is the maximum number of threads per block in CUDA?

A CUDA block can contain up to 512 threads.

What is the size of a warp in CUDA?

A warp consists of 32 threads.

What are the maximum dimensions of a thread block?

The maximum block dimensions are 512 threads in x, 512 in y, and 64 in z.

How much shared memory is available per multiprocessor?

Each multiprocessor provides 16 KB of shared memory.

Download PDF (6.4 MB)

More Nvidia Manuals


View all Nvidia manuals →