Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DFT] Implement external workspace according to draft spec #411

Merged
merged 13 commits into from
Jan 2, 2024

Conversation

hjabird
Copy link
Contributor

@hjabird hjabird commented Nov 17, 2023

Description

This PR implements the draft specification for external workspace at uxlfoundation/oneAPI-spec#509, which relates to oneMKL issue #396.

Checklist

All Submissions

  • Do all unit tests pass locally? Attach a log.
  • Have you formatted the code using clang-format?

New interfaces

  • Have you provided motivation for adding a new feature as part of RFC and
    it was accepted? # (RFC) Draft PR for oneAPI spec linked, but this is not yet merged
  • What version of oneAPI spec the interface is targeted?
  • Complete New features checklist

New features

  • Have you provided motivation for adding a new feature?
  • Have you added relevant tests?

Logs:

include/oneapi/mkl/dft/detail/commit_impl.hpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
tests/unit_tests/dft/source/workspace_external_tests.cpp Outdated Show resolved Hide resolved
tests/unit_tests/dft/source/workspace_external_tests.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/backward.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Show resolved Hide resolved
include/oneapi/mkl/dft/detail/commit_impl.hpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Outdated Show resolved Hide resolved
src/dft/backends/cufft/commit.cpp Show resolved Hide resolved
@hjabird hjabird force-pushed the devel_dft_workspace_external branch from aa0967a to 718ecf0 Compare December 5, 2023 10:54
@hjabird
Copy link
Contributor Author

hjabird commented Dec 6, 2023

I've been having trouble with access to AMD hardware since the rebase, so test here is test data for MKL-CPU, MKL-GPU and Nvidia for now:
testintel.txt
testnvidia.txt

@hjabird hjabird force-pushed the devel_dft_workspace_external branch from 718ecf0 to 2a4bb85 Compare December 14, 2023 22:22
@hjabird
Copy link
Contributor Author

hjabird commented Dec 14, 2023

This PR has been rebased:

  • DFT domain has had portFFT added as a backend
  • Additional work was required to support portFFT in the tests

Test results for Nvidia (cuFFT backend), Intel MKL-CPU and MKL-GPU, and portFFT on Intel are attached:
testintel_mkl.txt
testintel_portfft.txt
testnvidia.txt

Unfortunately I cannot currently access AMD hardware to test that the rocFFT backend. However, it has not required any changes since the last test results were provided.

Copy link
Contributor

@anantsrivastava30 anantsrivastava30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

include/oneapi/mkl/dft/detail/commit_impl.hpp Outdated Show resolved Hide resolved
@hjabird hjabird merged commit f69c6ac into uxlfoundation:develop Jan 2, 2024
normallytangent pushed a commit to normallytangent/oneMKL that referenced this pull request Aug 6, 2024
* Implements external workspace support in DFT domain, with support for all existing backends.
* Adds new tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants