gpufft-cuda-sys 0.1.3

Raw FFI bindings to cuFFT + CUDA Runtime. Internal plumbing for gpufft.
docs.rs failed to build gpufft-cuda-sys-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

gpufft-cuda-sys

Raw FFI bindings to cuFFT and the CUDA Runtime API, generated by bindgen against the system CUDA Toolkit. This is internal plumbing for gpufft; you almost certainly want that crate, not this one.

crates.io docs.rs License: Apache-2.0

What this crate is

  • bindgen-generated declarations for cuFFT (cufft.h) and the subset of the CUDA Runtime API (cuda_runtime.h) that gpufft needs for device allocation, host-device memcpy, and plan dispatch.
  • A build script that links cudart and cufft from the system CUDA Toolkit.

What this crate is not

  • A safe Rust API. All symbols are unsafe. Use gpufft for the typed trait surface.
  • A vendored CUDA distribution. This crate requires the CUDA Toolkit and a matching NVIDIA driver on the build and run hosts.

Build prerequisites

  • CUDA Toolkit 12.x or later, with cufft.h and cuda_runtime.h reachable.
  • A libclang installation that bindgen can load (libclang.so).
  • NVIDIA driver matching the CUDA runtime at execution time.

The build script searches CUDA_PATH, CUDA_HOME, then /usr/local/cuda. Set one of the first two to point at a non-default install.

Licensing

gpufft-cuda-sys itself is Apache-2.0. cuFFT and the CUDA Runtime ship under NVIDIA's CUDA Toolkit EULA and are not redistributed by this crate.

Repository: https://github.com/alejandro-soto-franco/gpufft