CUDA Samples

repository·master·Indexed 27 days ago

https://github.com/nvidia/cuda-samples

A collection of demonstration programs for CUDA developers showcasing features of the CUDA Toolkit. The samples serve as a practical reference for learning and testing CUDA capabilities across Linux, Windows, and Tegra/Automotive Linux, covering topics such as asynchronous API usage, performance profiling with clock functions, multi-GPU applications via OpenMP, FP16 scalar products, and various matrix multiplication implementations using the CUDA Runtime API, Driver API, and libNVRTC.

Tokens
100.7K
Snippets
142
Records
976
Agent score
94%

What's inside cuda-samples

  1. Overview of immaTensorCoreGemm sample

    master
    The immaTensorCoreGemm sample demonstrates integer General Matrix Multiply (GEMM) computations using the Warp Matrix Multiply and Accumulate (WMMA) API for integers, introduced in CUDA 10. It utilizes Tensor Cores (available from the Volta architecture onwards) to accelerate matrix operations. Additionally, it demonstrates how to use the cudaFuncAttributeMaxDynamicSharedMemorySize function attribute to reserve an extended amount of shared memory beyond the default limits.