COOLJAPAN
← All posts

OxiFFT 0.4.1 Released — A Critical GPU Async-Copy Race Fix Arrives via OxiCUDA 0.5.3

OxiFFT 0.4.1 is a small, focused release: it pulls in OxiCUDA 0.5.3, which fixes a race condition where async CUDA memory copies in oxicuda-fft could return before the transfer landed — risking silently corrupted or all-zero GPU transform results under load.

release oxifft fft cuda gpu rust maintenance

A silent GPU correctness bug, closed — without OxiFFT’s own code changing a line.

Today we released OxiFFT 0.4.1 — a small, focused release whose only change is pulling in OxiCUDA 0.5.3, which fixes a race condition in async GPU memory transfers that could corrupt cuda-feature FFT results under load.

No C. No Fortran. No FFTW. No FFI. OxiFFT’s default build is still 100% Pure Rust — this release only touches the optional cuda/metal GPU backends, and even there it’s a dependency bump, not new native surface.

Why 0.4.1 matters

OxiFFT’s own source is unchanged in this release — but if you build with the cuda feature, this bump matters:

Getting Started

cargo add oxifft --features cuda

The core API is unchanged from prior releases — a forward 1D FFT still reads:

use oxifft::{Complex, Direction, Flags, Plan};

let plan = Plan::dft_1d(1024, Direction::Forward, Flags::ESTIMATE)
    .expect("1024-pt plan");
let input = vec![Complex::new(1.0_f64, 0.0); 1024];
let mut output = vec![Complex::new(0.0_f64, 0.0); 1024];
plan.execute(&input, &mut output);

GPU dispatch via cuda/metal is opt-in and transparent to this API — the fix in 0.4.1 lives entirely in the backend’s async memory-transfer plumbing.

What’s New in 0.4.1

Dependencies

Tips

This is the foundation

OxiFFT is the spectral layer of the COOLJAPAN ecosystem, a direct dependency of 21 other COOLJAPAN projects — including SciRS2, NumRS2, OxiBLAS, OxiCUDA (its GPU backend), ToRSh, OxiWhisper, SkleaRS, TenfloweRS, OxiMedia, and OxiPhysics. Keeping the GPU path correct under load matters precisely because so much downstream signal, audio, and tensor work leans on it.

Repository: https://github.com/cool-japan/oxifft

Star the repo if Pure Rust spectral computing belongs in your stack — and if you run OxiFFT on GPU under real load, this update is for you.

Pure Rust spectral computing — fast, safe, and sovereign, from a laptop to a GPU cluster.

KitaSan at COOLJAPAN OÜ July 27, 2026

↑ Back to all posts