Intel® Math Kernel Library 2019 Developer Reference - C
By default, the computational functions overwrite the input data with the output result. That is, the default setting of the configuration parameter DFTI_PLACEMENT is DFTI_INPLACE. You can change that by setting it to DFTI_NOT_INPLACE.
When the configuration parameter is set to DFTI_NOT_INPLACE, the input and output data sets must have no common elements.
To better understand the use of the DFTI_PLACEMENT configuration parameter, see this example in your Intel MKL directory:
./examples/dftc/source/config_placement.c