gpu-fft 1.2.0

A Rust library for performing Fast Fourier Transform (FFT) and Inverse FFT using GPU acceleration.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "gpu-fft"
version = "1.2.0"
authors = ["Eugene Hauptmann"]
build = "build.rs"
exclude = ["bench-results/**/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for performing Fast Fourier Transform (FFT) and Inverse FFT using GPU acceleration."
homepage = "https://github.com/eugenehp/gpu-fft"
documentation = "https://docs.rs/gpu-fft"
readme = "README.md"
keywords = [
    "FFT",
    "GPU",
    "CubeCL",
    "Rust",
    "Kernel",
]
license = "MIT"
repository = "https://github.com/eugenehp/gpu-fft.git"

[features]
cuda = ["cubecl/cuda"]
default = ["wgpu"]
mlx = ["dep:cc"]
wgpu = ["cubecl/wgpu"]

[lib]
name = "gpu_fft"
path = "src/lib.rs"

[[example]]
name = "backends"
path = "examples/backends.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[test]]
name = "fft"
path = "tests/fft.rs"

[[test]]
name = "fft_batch"
path = "tests/fft_batch.rs"

[[test]]
name = "ifft"
path = "tests/ifft.rs"

[[test]]
name = "ifft_batch"
path = "tests/ifft_batch.rs"

[[test]]
name = "parity"
path = "tests/parity.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[bench]]
name = "compare_bench"
path = "benches/compare_bench.rs"
harness = false
required-features = [
    "wgpu",
    "mlx",
]

[[bench]]
name = "fft_bench"
path = "benches/fft_bench.rs"
harness = false

[dependencies.cubecl]
version = "0.9.0"

[dev-dependencies.criterion]
version = "0.8.2"

[build-dependencies.cc]
version = "1.2"
optional = true