sp1-gpu-sys
FFI bindings and CUDA build system for SP1-GPU.
Provides the low-level FFI bindings to CUDA libraries and manages the build process for CUDA kernels. This crate handles cbindgen header generation and CMake-based CUDA compilation.
Build Process
- Cargo triggers
build.rs - cbindgen generates C headers from Rust types
- CMake compiles CUDA modules into object libraries
- Device linking produces
libsys-cuda.a - Cargo links the static library into Rust binaries
Part of SP1-GPU, the GPU-accelerated prover for SP1.