# NVIDIA/cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit

Repository: https://github.com/NVIDIA/cuda-samples
Canonical: https://ross.abutalabs.com/products/cuda-samples
Language: C++
License: NOASSERTION
License Family: other
Topics: cuda, cuda-kernels, cuda-opengl, cuda-driver-api
Last push: 2026-05-27T21:57:00+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 74, longevity 100
- inputs: {"age_days": 3081, "days_push": 98, "days_rel": 98, "gap_med": 72, "n_releases_24m": 8}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9554, forks 2410 (observed 2026-08-28T04:10:31.846649+00:00)

## What it is
NVIDIA's official collection of sample programs demonstrating CUDA Toolkit features, written in C++ and built with CMake. It serves as reference code and a learning resource for GPU programming with CUDA.

## Use cases
- learn CUDA programming with example kernels
- find reference code for CUDA driver API usage
- see how to combine CUDA with OpenGL
- get started building GPU applications on Linux and Windows
- cross-compile CUDA samples for Tegra devices

## When to choose
- you want official, maintained example code for a recent CUDA Toolkit version
- you need working demonstrations of CUDA features like kernels, driver API, or graphics interop
- you are learning GPU programming or porting code to a new CUDA release

## When to avoid
- you need a production-ready library or framework rather than example code
- you target non-NVIDIA GPUs or non-CUDA platforms
- you need a permissive license - the samples carry a custom NVIDIA license

## Facets
- artifact type: learning-resource
- maturity: active
- function: gpu-computing, graphics, developer-tools
- domain: gpu-computing, tutorials, developer-tools
- platform: windows, cpp
- tags: cuda, cuda-kernels, samples, nvidia, cmake, opengl, linux, gpu

## Member repositories
- NVIDIA/cuda-samples (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:31.846649+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:21:57.499055+00:00, confidence not recorded.
  - readme: https://github.com/NVIDIA/cuda-samples (fetched 2026-08-28T04:10:31.846649+00:00, sha 85fc892c47f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
