Examples#

This page links to the cuda.bindings examples shipped in the cuda-python repository. Use it as a quick index when you want a runnable sample for a specific API area or CUDA feature.

Introduction#

Concepts and techniques#

CUDA features#

Libraries and tools#

Advanced and interoperability#

  • isoFDModelling_test.py runs isotropic finite-difference wave propagation across multiple GPUs with peer-to-peer halo exchange.

  • jit_program_test.py JIT-compiles a SAXPY kernel with NVRTC and launches it through the Driver API.

  • numba_emm_plugin.py shows how to back Numba’s EMM interface with the NVIDIA CUDA Python Driver API.