-
Notifications
You must be signed in to change notification settings - Fork 110
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
[oneMKL][DFT] Specification for external workspaces for DFTs #509
Conversation
Note that this PR does not currently include any feature for estimating the required workspace size. The usecase for this feature is not completely clear, and cannot be supported by the rocFFT backend in oneMKL interface library. However, it may nonetheless be required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall
source/elements/oneMKL/source/domains/dft/config_params/workspace_placement.rst
Show resolved
Hide resolved
* Add support for external workspaces * Add the following config_params: * WORKSPACE_PLACEMENT * WORKSPACE_EXTERNAL_BYTES_REQUIRED * Add descriptor::set_workspace * Describe typical usage of an external workspace
a8cbe88
to
be1aaf7
Compare
This PR has been rebased upon recent PRs, most importantly #506. |
source/elements/oneMKL/source/domains/dft/config_params/workspace_placement.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/enums_and_config_params.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/enums_and_config_params.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/enums_and_config_params.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/config_params/workspace_placement.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/config_params/workspace_placement.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/config_params/workspace_placement.rst
Outdated
Show resolved
Hide resolved
Is this ready to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @hjabird, this change LGTM.
Hello @rscohn2 , my understanding is that this should be presented to the Math SIG before it can be merged. |
@spencerpatty: Was this PR targeted for 1.3 release? |
@rscohn2 no, I discussed with the authors and they are not targeting 1.3 release. |
source/elements/oneMKL/source/domains/dft/config_params/workspace_placement.rst
Outdated
Show resolved
Hide resolved
source/elements/oneMKL/source/domains/dft/enums_and_config_params.rst
Outdated
Show resolved
Hide resolved
Following the Math SIG, I tried to find examples uses of cufft workspace estimates on Github. Based on a small number of samples:
I don't think that pre-commit workspace size estimates are needed in this spec PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is ready as well.
@rscohn2 I believe this is ready to merge. It has approval from both the Codeplay and Intel FastFour team, and has been presented at the Math SIG. I don't have the capability to merge this myself. |
This PR is paired with #508, and introduces external workspaces to the oneMKL DFT specification.