nvidia/cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 23 minutes ago
Added to GitGenius on September 6th, 2026
Created on March 27th, 2018
Open Issues & Pull Requests: 126 (+0)
GitHub issues: Enabled
Number of forks: 2,421
Total Stargazers: 9,603 (+1)
Total Subscribers: 133 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 102.2 days
Mean response time: 303.7 days
90th percentile: 1081.5 days
Tracked items: 186

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 2% of issues opened in the past year have been closed. Three people close 90% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 66
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 691 days
Stale 30+ days: 19
Stale 90+ days: 19

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (10)
  • question (9)
  • enhancement (3)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

CUDA Samples is a collection of code examples that demonstrate features in the CUDA Toolkit for GPU-accelerated computing.

The samples address the need for developers to learn and understand how to use CUDA capabilities through practical, working examples. The approach provides runnable code that covers CUDA driver API, kernel development, and integration with graphics libraries like OpenGL and Vulkan. Each sample is self-contained and demonstrates a specific feature or technique, allowing developers to study implementations and adapt them for their own projects.

Developers adopting these samples should have the CUDA Toolkit installed on their system. The collection suits anyone learning CUDA programming, from beginners exploring basic kernel execution to advanced developers working with domain-specific applications or platform-specific optimizations. The samples are particularly valuable for understanding how to structure CUDA code, manage GPU memory, and integrate GPU computation with graphics pipelines. The project provides examples across multiple categories including basic operations, algorithm implementations, domain-specific computing, and platform-specific code for Tegra devices.

The project maintains a structured build system using CMake, supporting compilation on Linux and Windows as well as cross-compilation for embedded Tegra platforms. The samples are organized by complexity and application domain, with clear prerequisites and build instructions documented for each platform. The repository includes a changelog tracking revisions and updates to keep examples aligned with current CUDA Toolkit capabilities.