awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
NVIDIA avatar

NVIDIA/cuda-samples

0
View on GitHub↗
9,319 stars·2,366 forks·C++·22 views

Cuda Samples

This repository is a collection of reference implementations and programming examples for the CUDA Toolkit. It serves as a GPGPU implementation guide and a parallel computing reference, providing code for using graphics hardware to perform general-purpose calculations and high-performance parallel processing.

The project provides specific samples for GPU kernel development and resource management. These include demonstrations of multi-GPU communication, peer-to-peer memory access, and system hardware inspection to coordinate distributed GPU resources.

The codebase covers a wide range of capabilities, including GPU memory management, performance optimization through execution graphs, and the integration of domain-specific libraries for linear algebra and image processing. It also demonstrates interoperability between compute contexts and graphics APIs to combine rendering and processing tasks.

Features

  • GPU Kernel Offloading - Demonstrates the compilation and launch of specialized C-style functions from the host CPU onto the GPU device.
  • GPU Kernel Programming - Serves as a primary reference for writing and executing parallel compute kernels on GPU hardware.
  • CUDA-Accelerated Libraries - Demonstrates the integration of specialized CUDA libraries for linear algebra, Fourier transforms, and image processing.
  • Cooperative Thread Groups - Provides implementations for coordinating sets of threads to synchronize memory access and manage collective workloads.
  • CUDA Programming Examples - Provides a comprehensive collection of reference implementations for GPU-accelerated computing using the CUDA Toolkit.
  • GPGPU Implementation Guides - Acts as a practical guide for implementing general-purpose calculations on graphics hardware via CUDA.
  • GPU Peer-to-Peer Memory Access - Provides implementations allowing multiple GPUs to read and write to each others memory without routing data through the CPU.
  • Multi-GPU Resource Coordination - Demonstrates how to coordinate multi-GPU communication and distribute workloads across multiple devices.
  • Direct Memory Access - Provides examples of moving data between system RAM and GPU VRAM using high-speed buses to minimize processing latency.
  • GPU Memory Allocators - Provides utilities for allocating and moving data between CPU and GPU buffers using direct memory access.
  • SIMT Execution Models - Implements the SIMT model to run the same instruction across multiple threads for parallel processing of large datasets.
  • GPU Kernel Launch Configurations - Provides examples for executing source code on the graphics processor using high-level interfaces and custom launch configurations.
  • GPU Parallelism Strategies - Implements advanced parallelism using cooperative groups and execution graphs to optimize GPU workload distribution.
  • GPU-Accelerated Computation - Provides reference implementations for writing and executing parallel programs that accelerate complex calculations on GPU hardware.
  • High-Performance and Parallel Computing - Offers a reference for implementing high-performance parallel processing, kernel execution, and thread coordination.
  • Unified Memory Systems - Creates a single virtual memory space shared between the CPU and GPU to simplify data movement.
  • Graphics Resource Sharing - Provides examples of sharing memory and texture data across compute contexts and graphics APIs.
  • GPU Resource Management - Provides samples for managing the lifecycle and allocation of GPU resources and hardware inspection.
  • GPU & Performance - Implements techniques to measure memory bandwidth and apply execution strategies to increase graphics hardware processing speed.
  • Performance Optimization Samples - Includes demonstrations for measuring memory bandwidth and using execution graphs to optimize performance.
  • CUDA Domain Library Examples - Provides reference code for applying domain-specific libraries for linear algebra and image processing.
  • GPU Linear Algebra Libraries - Utilizes specialized GPU-optimized libraries for linear algebra and image processing to solve complex mathematical problems.
  • Static Task Graphs - Implements sequences of GPU tasks as static graphs to reduce the overhead of repeated kernel launches.
  • Graph Execution Compilers - Compiles and executes captured operation graphs as executable objects to optimize GPU task scheduling.
  • Hardware Inspection - Provides tools to retrieve technical specifications about available hardware devices and the current execution environment.
  • Development Utilities - Sample code for testing CUDA integration within the subsystem.

Star history

Star history chart for nvidia/cuda-samplesStar history chart for nvidia/cuda-samples

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does nvidia/cuda-samples do?

This repository is a collection of reference implementations and programming examples for the CUDA Toolkit. It serves as a GPGPU implementation guide and a parallel computing reference, providing code for using graphics hardware to perform general-purpose calculations and high-performance parallel processing.

What are the main features of nvidia/cuda-samples?

The main features of nvidia/cuda-samples are: GPU Kernel Offloading, GPU Kernel Programming, CUDA-Accelerated Libraries, Cooperative Thread Groups, CUDA Programming Examples, GPGPU Implementation Guides, GPU Peer-to-Peer Memory Access, Multi-GPU Resource Coordination.

What are some open-source alternatives to nvidia/cuda-samples?

Open-source alternatives to nvidia/cuda-samples include: packtpublishing/learn-cuda-programming — This project serves as a comprehensive educational resource for learning parallel programming and high-performance… infrasys-ai/aisystem — AISystem is a comprehensive AI full-stack infrastructure project covering the entire pipeline from AI chip… juliagpu/cuda.jl — CUDA.jl provides a programming interface for executing custom kernels and performing parallel array computing directly… amandaghassaei/gpu-io — This library is a web-based framework designed for general-purpose parallel processing and high-performance… nvidia/cuda-python — cuda-python provides low-level Python bindings for the CUDA Driver and Runtime APIs. It serves as a programmatic… answerdotai/gpu.cpp — gpu.cpp is a lightweight C++ library for executing low-level general-purpose GPU computation across different hardware…

Open-source alternatives to Cuda Samples

Similar open-source projects, ranked by how many features they share with Cuda Samples.
  • packtpublishing/learn-cuda-programmingPacktPublishing avatar

    PacktPublishing/Learn-CUDA-Programming

    1,258View on GitHub↗

    This project serves as a comprehensive educational resource for learning parallel programming and high-performance computing using graphics processing units. It provides technical guidance on the fundamental paradigms required to offload computationally intensive tasks from a host system to specialized hardware accelerators. The materials cover the core methodologies for managing data-parallel operations, including the orchestration of memory between host and device spaces and the organization of threads into structured grids and blocks. It details the execution models necessary to distribute

    Cuda
    View on GitHub↗1,258
  • infrasys-ai/aisystemInfrasys-AI avatar

    Infrasys-AI/AISystem

    17,017View on GitHub↗

    AISystem is a comprehensive AI full-stack infrastructure project covering the entire pipeline from AI chip architecture to high-level training frameworks. It encompasses the development of AI compiler frameworks, inference engines, and distributed training orchestrators designed to coordinate workloads across a heterogeneous compute stack of CPUs, GPUs, and NPUs. The project focuses on the deep integration of software and hardware, employing software-hardware co-design to align tensor layouts with physical memory structures. It provides specialized capabilities for accelerating Transformer mo

    Jupyter Notebookaiaiinfraaisys
    View on GitHub↗17,017
  • juliagpu/cuda.jlJuliaGPU avatar

    JuliaGPU/CUDA.jl

    1,409View on GitHub↗

    CUDA.jl provides a programming interface for executing custom kernels and performing parallel array computing directly on NVIDIA graphics hardware using the Julia language. It serves as a framework for compiling and scheduling user-defined functions across multiple processing cores, enabling high-performance data processing and task synchronization. The library distinguishes itself through a custom compiler backend that translates high-level language functions into hardware-specific machine code. It manages complex hardware interactions through asynchronous stream scheduling, unified memory m

    Juliacudagpuhacktoberfest
    View on GitHub↗1,409
  • amandaghassaei/gpu-ioamandaghassaei avatar

    amandaghassaei/gpu-io

    1,472View on GitHub↗

    This library is a web-based framework designed for general-purpose parallel processing and high-performance computation on graphics hardware. It provides a toolkit for executing complex mathematical operations, physics simulations, and procedural visualizations directly within the browser by leveraging the graphics processor for data-intensive tasks. The framework distinguishes itself through automated shader management, which ensures consistent execution across diverse hardware and browser environments. It achieves this by transpiling modern shader syntax into legacy versions and automatical

    TypeScriptcanvasglslgpgpu
    View on GitHub↗1,472
  • See all 30 alternatives to Cuda Samples→