docs.rs failed to build gpufft-cuda-sys-0.1.2
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.
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.
What this crate is
bindgen-generated declarations for cuFFT (cufft.h) and the subset of the CUDA Runtime API (cuda_runtime.h) thatgpufftneeds for device allocation, host-device memcpy, and plan dispatch.- A build script that links
cudartandcufftfrom the system CUDA Toolkit.
What this crate is not
- A safe Rust API. All symbols are
unsafe. Usegpufftfor 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.handcuda_runtime.hreachable. - A libclang installation that
bindgencan 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