Intel® oneAPI Math Kernel Library Developer Reference - C
Sets one particular configuration parameter with the specified configuration value.
status = DftiSetValueDM (handle, param, value);
This function sets one particular configuration parameter with the specified configuration value. The configuration parameter is one of the named constants listed in the table below, and the configuration value must have the corresponding type. See Configuration Settings for details of the meaning of each setting and for possible values of the parameters whose values are named constants.
Parameter Name |
Data Type |
Description |
Default Value |
---|---|---|---|
DFTI_FORWARD_SCALE |
Floating-point scalar |
Scale factor of forward transform. |
1.0 |
DFTI_BACKWARD_SCALE |
Floating-point scalar |
Scale factor of backward transform. |
1.0 |
DFTI_PLACEMENT |
Named constant |
Placement of the computation result. |
DFTI_INPLACE |
DFTI_ORDERING |
Named constant |
Scrambling of data order. |
DFTI_ORDERED |
CDFT_WORKSPACE |
Array of an appropriate type |
Auxiliary buffer, a user-defined workspace. Enables saving memory during in-place computations. |
NULL (allocate workspace dynamically). |
DFTI_PACKED_FORMAT |
Named constant |
Packed format, real data. |
|
DFTI_TRANSPOSE |
Named constant |
This parameter determines how the output data is located for multi-dimensional transforms. If the parameter value is DFTI_NONE, the data is located in a usual manner described in this document. If the value is DFTI_ALLOW, the last (first) global transposition is not performed for a forward (backward) transform. |
DFTI_NONE |
The function returns DFTI_NO_ERROR when completes successfully. If the function fails, it returns a value of another error class constant (for the list of constants, refer to Error Codes).
MKL_LONG DftiSetValueDM(DFTI_DESCRIPTOR_DM_HANDLE handle, int param,...);