{"repo":"chelsea0x3b/cudarc","free":true,"listed":false,"github":"https://github.com/chelsea0x3b/cudarc","clone":"git clone https://github.com/chelsea0x3b/cudarc.git","description":"Safe rust wrapper around CUDA toolkit","language":"Rust","stars":1207,"topics":["cuda","cuda-programming","cuda-toolkit","gpu","gpu-acceleration","rust","cublas","curand","cuda-kernels","nvrtc"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"cudarc: minimal and safe api over the cuda toolkit Checkout cudarc on crates.io and docs.rs. Contributions welcome! Safe CUDA wrappers for: library dynamic load dynamic link static link --- --- --- --- CUDA driver ✅ ✅ N/A NVRTC ✅ ✅ ✅ cuRAND ✅ ✅ ✅ cuBLAS ✅ ✅ ✅ cuBLASLt ✅ ✅ ✅ NCCL ✅ ✅ ✅ cuDNN ✅ ✅ ✅ cuSPARSE ✅ ✅ ✅ cuSOLVER ✅ ✅ N/A cuFILE ✅ ✅ ✅ CUPTI ✅ ✅ ✅ nvtx ✅ ✅ N/A cuFFT ✅ ❌ ❌ CUDA Versions supported (choose with -F cuda- , like cuda-13010 ): - 11.4-11.8 - 12.0-12.9 - 13.0-13.3 CUDNN versions supported (choose with -F cudnn- , like cudnn-09021 ): - 8.9.7 - 9.10.2 - 9.21.1 NCCL versions supported (choose with -F nccl- , like nccl-02023 ): - 2.22-2.30 Configuring CUDA version Select cuda version with one of: - -F cuda-version-from-build-system : At build time will get the cuda toolkit version using nvcc - -F fallback-latest : can be used to control behavior if this fails. default is not enabled, which will cause the build script to panic. if -F fallback-latest is enabled, we will use the highest bindings we have. - -F cuda- 0 0 to build for a specific version of cuda Configuring linking By default we use -F dynamic-loading , which will not require any libraries to be present at build time. You can also enable -F dynamic-linking or -F static-linking for your use case. Getting started It's easy to create a new device and transfer data to the gpu: You can also use the nvrtc api to compile kernels at runtime: cudarc provides a very simple interface to launch kernels using a builder","default_branch":null,"files":null,"tree":[],"storefront":"/r/chelsea0x3b","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chelsea0x3b/cudarc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}