rust-gpu VS VkFFT

Compare rust-gpu vs VkFFT and see what are their differences.


🐉 Making Rust a first-class language and ecosystem for GPU code 🚧 (by EmbarkStudios)


Vulkan/CUDA/HIP/OpenCL Fast Fourier Transform library (by DTolm)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
rust-gpu VkFFT
19 19
3,696 755
3.6% -
9.5 7.7
7 days ago 28 days ago
Rust C++
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of rust-gpu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-04.
  • What's everyone working on this week (40/2021)? | 2021-10-04
    Another aspect of writing code for GPUs are the shaders, the code that gets executed in the GPU. These can be written in CUDA C (for CUDA), OpenCL C (for OpenCL), GLSL (if using graphic/compute APIs such as OpenGL), etc. Rust can be used for this purpose too, thanks to rust-gpu, but it is a bit more complex to get started.
  • Unified Shader Programming in C++ | 2021-10-03
    Rust also has this, from what I understand:
  • Is there a crate for CPU/GPU agnostic code in Rust (like Kokkos for C++) | 2021-09-29
  • What's the current state of GPU compute in rust? | 2021-09-20
    Working on autograph, for machine learning and neural networks. Unlike CUDA / HIP it's threadsafe, but doesn't expose low level things like multiple streams. Most of the shaders are glsl but I'm now using rust_gpu for pure rust gpu code.
  • I wanted to share my experience of Rust as a deep learning researcher | 2021-09-01
    For this, I'm hoping these folks will nail it soon
  • Man, building a game sure takes a long time | 2021-07-07
    That's a good point. I'm interested in projects like Rust GPU for this sort of thing. Should make it easy enough to actually unit test your shaders.
  • 32bit indexing in 64bit again - GPUs | 2021-06-28
    Proposing a function like std::index_32, to improve a performance problem which may or may not exist, on a class of platforms which aren't supported (and on which Rust currently barely compiles), because Rust might become popular on those platforms in the future... you could try it, but I think your proposal would have a very low chance of being accepted. The starting point is here.
  • Announcing neuronika 0.1.0, a deep learning framework in Rust | 2021-06-15
    there is the rust-gpu effort, an alternative to OpenCL
  • Is cuda all written in C++ why not RUST? | 2021-06-04
  • Rust-GPU: Making Rust a first-class language and ecosystem for GPU code | 2021-06-04


Posts with mentions or reviews of VkFFT. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-19.
  • VkFFT - GPU Fast Fourier Transform library API guide release | 2021-08-22
    Hello, I am the creator of the VkFFT - GPU Fast Fourier Transform library for Vulkan/CUDA/HIP and OpenCL. In the last update, I have released explicit 50-page documentation on how to use the VkFFT API. It describes all the necessary steps needed to set up the VkFFT library and explains the core design of the VkFFT. This is a very important update, as it should make VkFFT easier to use.
  • VkFFT can now perform Fast Fourier Transforms of arbitrary length | 2021-07-26
    For general optimized radix transforms, you might want to check the benchmark plots on GitHub or my Nvidia GTC talk where I describe them in detail. | 2021-07-25
    Performace-wise, VkFFT achieves up to half of the device bandwidth in Bluestein's FFTs, which is up to up to 4x faster on <1MB systems, similar in performance on 1MB-8MB systems and up to 2x faster on big systems than Nvidia's cuFFT. VkFFT is also >5x times faster than AMD's rocFFT for Bluestein's systems. You can check the benchmark and precision scripts on VkFFT's GitHub repo.
  • VkFFT now supports Discrete Cosine Transforms | 2021-06-19
    VkFFT supports convolution calculations - see samples 7, 8 and 9 in the VkFFT repository.
  • VkFFT now supports Discrete Cosine Transforms on GPU
  • Announcing neuronika 0.1.0, a deep learning framework in Rust | 2021-06-15
    The Vulkan docs online are quite good; if i remember they have "hello world" type tutorials as well. An take a look at something like Vulkan fft that has both Vulkan and opencl backends. Looking at "real" projects will of course tens to obscure the main points, but can be helpful for comparison.
  • Vulkan and HPC | 2021-06-06
    It's still pretty niche, honestly. Though is a good counterexample.
  • About FFT in Vulkan | 2021-04-21
    Hi Folks, I am trying to implement FFT in vulkan especially for Android as I need to use it for image construction from inout signals. I found this awesome project but still struggling to pass the input signals to the buffer.

What are some alternatives?

When comparing rust-gpu and VkFFT you can also consider the following projects:

are-we-learning-yet - How ready is Rust for Machine Learning?

wgpu - Safe and portable GPU abstraction in Rust, implementing WebGPU API.

wgpu-rs - Rust bindings to wgpu native library - Source code for

DirectXShaderCompiler - This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

hash-shader - SHA256 Compute Shader (Kernel) Written in Rust

conan-center-index - Recipes for the ConanCenter repository

rocFFT - Next generation FFT implementation for ROCm

kompute - General purpose GPU compute framework for cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.

neuronika - Tensors and dynamic neural networks in pure Rust.