Skip to main content

Crate baracuda_cufft_sys

Crate baracuda_cufft_sys 

Source
Expand description

Raw FFI + dynamic loader for NVIDIA cuFFT.

baracuda-cufft wraps this with a safe, typed API. Use this crate directly only if you need a function that the safe layer hasn’t wrapped yet (in which case please file a bug).

Structs§

Cufft
Lazily-resolved cuFFT function-pointer table.
cufftComplex
cuFFT complex (single precision) — layout-compatible with baracuda_types::Complex32.
cufftDoubleComplex
cuFFT complex (double precision) — layout-compatible with baracuda_types::Complex64.
cufftResult
Return code from a cuFFT call.

Enums§

cufftType
cuFFT transform type.

Constants§

CUFFT_FORWARD
cuFFT transform direction.
CUFFT_INVERSE
Inverse-transform direction flag for cufftExec* calls.

Functions§

cufft
Return the lazily-loaded cuFFT library accessor.

Type Aliases§

PFN_cufftCreate
Function-pointer type for cufftCreate (create cuFFT plan handle). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftDestroy
Function-pointer type for cufftDestroy (destroy cuFFT plan handle). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftEstimate1d
Function-pointer type for cufftEstimate1d (estimate workspace size for a 1D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftEstimate2d
Function-pointer type for cufftEstimate2d (estimate workspace size for a 2D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftEstimate3d
Function-pointer type for cufftEstimate3d (estimate workspace size for a 3D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftEstimateMany
Function-pointer type for cufftEstimateMany (estimate workspace size for a batched/strided FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftExecC2C
Function-pointer type for cufftExecC2C (execute complex-to-complex (single-precision) FFT). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftExecC2R
Function-pointer type for cufftExecC2R (execute complex-to-real (single-precision) FFT). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftExecD2Z
Function-pointer type for cufftExecD2Z (execute real-to-complex (double-precision) FFT). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftExecR2C
Function-pointer type for cufftExecR2C (execute real-to-complex (single-precision) FFT). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftExecZ2D
Function-pointer type for cufftExecZ2D (execute complex-to-real (double-precision) FFT). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftExecZ2Z
Function-pointer type for cufftExecZ2Z (execute complex-to-complex (double-precision) FFT). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftGetProperty
Function-pointer type for cufftGetProperty (query a cuFFT property value). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftGetSize
Function-pointer type for cufftGetSize (query exact workspace size for a configured plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftGetSize1d
Function-pointer type for cufftGetSize1d (query exact workspace size for a 1D plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftGetVersion
Function-pointer type for cufftGetVersion (query cuFFT library version). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftMakePlan1d
Function-pointer type for cufftMakePlan1d (configure an existing handle as a 1D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftMakePlan2d
Function-pointer type for cufftMakePlan2d (configure an existing handle as a 2D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftMakePlan3d
Function-pointer type for cufftMakePlan3d (configure an existing handle as a 3D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftMakePlanMany
Function-pointer type for cufftMakePlanMany (configure an existing handle as a batched/strided FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftMakePlanMany64
Function-pointer type for cufftMakePlanMany64 (configure an existing handle as a 64-bit batched/strided FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftPlan1d
Function-pointer type for cufftPlan1d (create 1D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftPlan2d
Function-pointer type for cufftPlan2d (create 2D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftPlan3d
Function-pointer type for cufftPlan3d (create 3D FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftPlanMany
Function-pointer type for cufftPlanMany (create batched / strided FFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftSetAutoAllocation
Function-pointer type for cufftSetAutoAllocation (toggle automatic workspace allocation). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftSetStream
Function-pointer type for cufftSetStream (bind a CUDA stream to a cuFFT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftSetWorkArea
Function-pointer type for cufftSetWorkArea (supply caller-managed work area for a plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtClearCallback
Function-pointer type for cufftXtClearCallback (clear a load/store callback on an XT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtExec
Function-pointer type for cufftXtExec (execute multi-GPU XT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtExecDescriptor
Function-pointer type for cufftXtExecDescriptor (execute multi-GPU XT plan over descriptor buffers). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtFree
Function-pointer type for cufftXtFree (free a multi-GPU XT descriptor buffer). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtMakePlanMany
Function-pointer type for cufftXtMakePlanMany (configure a multi-GPU XT batched/strided plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtMalloc
Function-pointer type for cufftXtMalloc (allocate multi-GPU XT descriptor buffer). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtMemcpy
Function-pointer type for cufftXtMemcpy (copy data to/from a multi-GPU XT descriptor). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtQueryPlan
Function-pointer type for cufftXtQueryPlan (query multi-GPU XT plan properties). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtSetCallback
Function-pointer type for cufftXtSetCallback (register a load/store callback on an XT plan). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtSetCallbackSharedSize
Function-pointer type for cufftXtSetCallbackSharedSize (set shared-memory size for a callback). See https://docs.nvidia.com/cuda/cufft/index.html.
PFN_cufftXtSetGPUs
Function-pointer type for cufftXtSetGPUs (select GPUs for multi-GPU XT execution). See https://docs.nvidia.com/cuda/cufft/index.html.
cudaDataType
cudaDataType forward-declared for cuFFT signatures. Matches baracuda_cuda_sys::runtime::types::cudaDataType but kept local to avoid a heavier dep.
cufftHandle
A cuFFT plan handle. Historically typedef’d as int.