Configuring the placement of the DFT results#
This page describes how to configure descriptor
objects to operate “in-place” (output data overwriting the input data) or not (output data stored separately from the input data) when used in compute functions. When non-native, all the relevant types and enumerations mentioned below belong to the oneapi::mkl::dft
namespace and are declared in oneapi/mkl/dft.hpp
(file to be included). The usage of prepended namespace specifiers oneapi::mkl::dft
is omitted below for conciseness.
Description#
The configuration value associated with the configuration parameter config_param::PLACEMENT
of a descriptor
object determines whether it should operate in-place or not. The only possible values are the self-explanatory config_value::INPLACE
and config_value::NOT_INPLACE
. By default, descriptor
objects are set to operate in-place.
Note
In-place operations require the data layout to satisfy specific requirements documented in the page dedicated to configuring data layouts.