#cuda #run-time #nvidia #driver #gpu

sys baracuda-cufft-sys

Raw FFI bindings and dynamic loader for NVIDIA cuFFT

7 releases

Uses new Rust 2024

new 0.0.1-alpha.13 May 11, 2026
0.0.1-alpha.7 May 7, 2026
0.0.1-alpha.5 Apr 29, 2026
0.0.1-alpha.3 Apr 28, 2026
0.0.1-alpha.2 Apr 24, 2026

#2789 in Math


Used in 2 crates (via baracuda-cufft)

MIT/Apache

675KB
16K SLoC

baracuda-cufft-sys

Raw FFI bindings + dynamic loader for NVIDIA cuFFT — GPU-side Fast Fourier Transforms.

Symbols resolve lazily via libloading; no link-time dependency on libcufft.so / cufft64_*.dll.

Most users want baracuda-cufft — that crate exposes typed plan builders for 1-D / 2-D / 3-D and many-sized batch FFTs, with all real/complex transform types (R2C, C2R, C2C, D2Z, Z2D, Z2Z), cuFFT-XT multi-GPU plans, and load/store callbacks.

What's exposed

  • Plan creation (cufftPlan1d, cufftPlan2d, cufftPlan3d, cufftPlanMany).
  • Execution (cufftExecC2C, cufftExecZ2Z, cufftExecR2C, cufftExecC2R, cufftExecD2Z, cufftExecZ2D).
  • cuFFT-XT multi-GPU API.
  • Set-stream, work-area control, callback registration.

Part of the baracuda workspace.

License

Dual MIT / Apache-2.0.

Dependencies

~230–710KB
~15K SLoC