Skip to content

Commit

Permalink
Romain suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hjabird committed Nov 3, 2023
1 parent 958492a commit be1aaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Usage of ``WORKSPACE_EXTERNAL`` typically involves the following order of operat
#. The required workspace size is queried.
#. A workspace of sufficient size is provided to the descriptor.
#. Compute functions following the type of external workspace provided are called.
#. The user is responsible for freeing the external workspace.

This is shown in the following example code:

Expand Down
2 changes: 1 addition & 1 deletion source/elements/oneMKL/source/domains/dft/descriptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Set the workspace for when ``config_param::WORKSPACE_PLACEMENT`` is set to ``con
This function sets the workspace to use when computing DFTs for when an
external workspace is set.
This function may only be called after the descriptor has been committed.
The provided workspace must be equal to or larger than the required
The size of the provided workspace must be equal to or larger than the required
workspace size obtained by calling ``descriptor<prec, dom>::get_value(config_param::WORKSPACE_EXTERNAL_BYTES_REQUIRED, &workspaceBytes)``.

A descriptor where ``WORKSPACE_EXTERNAL`` is specified is not a valid descriptor
Expand Down

0 comments on commit be1aaf7

Please sign in to comment.