Skip to content

Provide Dask interface to mkl_fft #5

Description

@jakirkham

Would be nice if a simple dask interface were provided to mkl_fft (much like the numpy one currently). In fact it could be built right on top of the _numpy_fft module by wrapping these functions using fft_wrap just as it is done in Dask except using the one's in _numpy_fft instead.

Activity

  1. jakirkham commented on Apr 20, 2018

    @jakirkham
    Author

    Any thoughts on this, @oleksandr-pavlyk?

  2. oleksandr-pavlyk commented on Apr 20, 2018

    @oleksandr-pavlyk
    Contributor

    @jakirkham I think dask interface is a great idea. I am not clear as to what exactly should be done in _numpy_fft.

    Are you proposing to add _dask_fft.py to the package, which would export these fft_wrapped function if dask is found in the environment?

  3. jakirkham commented on Apr 20, 2018

    @jakirkham
    Author

    Thanks for the follow up. Glad to hear this works.

    I am not clear as to what exactly should be done in _numpy_fft.

    Don’t think anything has to be done to _numpy_fft. That just works well for this purpose. Namely fft_wrap works well with FFT functions adhering to the NumPy API.

    Are you proposing to add _dask_fft.py to the package, which would export these fft_wrapped function if dask is found in the environment?

    Yep, exactly.

    Any thoughts on how we name things in the public API? Also any thoughts on what would be adequate testing?

  4. self-assigned this
    on Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions