Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Define FFT planning flags independent from FFTW

Open
#71 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia

Research direction

Start with the documented plan_fft API and its flags argument, then review how FFT implementations such as FFTW consume those values. Define the framework-level flags and establish how implementations adapt them without AbstractFFTs depending on FFTW; done means the API no longer documents FFTW-specific flags.

Written by the indexing model from the issue text.

Description

The FFT planning functions, plan_fft et al., accept a keyword argument flags that is used to provide options to the planning function of the FFT implementation. The flags argument is currently documented to be "a bitwise-or of FFTW planner flags". This effectively creates a documented dependency on FFTW, even though FFTW is not a dependency of AbstractFFTs (in fact it's the other way around). It would be preferable to have AbstractFFTs define any and all flags that FFT planners may wish to use and then have FFT implementations, such as FFTW, adapt the flags from AbstractFFTs values to suitable values for use with the underlying implementation as they see fit.

For an example of why the current approach is problematic, see https://github.com/JuliaGPU/CUDA.jl/issues/1559

Dominant language
Julia
Stars
135
Forks
40
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaMath/AbstractFFTs.jl

All issues in JuliaMath/AbstractFFTs.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.