This module creates C interface with MKL library
Sets one particular configuration parameter with the specified configuration value.
Sets one particular configuration parameter with integer value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | desc |
FFT descriptor. |
||
integer(kind=c_int), | intent(in), | value | :: | param |
Configuration parameter. |
|
integer(kind=c_int), | intent(in), | value | :: | value |
Configuration value. |
Function completion status.
Sets one particular configuration parameter with pointer value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | desc |
FFT descriptor. |
||
integer(kind=c_int), | intent(in), | value | :: | param |
Configuration parameter. |
|
integer(kind=c_long), | intent(in) | :: | value(*) |
Configuration value. |
Function completion status.
Allocates the descriptor data structure and initializes it with default configuration values.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_int), | intent(in), | value | :: | precision |
Precision of the transform: DFTI_SINGLE or DFTI_DOUBLE. |
|
integer(kind=c_int), | intent(in), | value | :: | domain |
Forward domain of the transform: DFTI_COMPLEX or DFTI_REAL. |
|
integer(kind=c_long), | intent(in), | value | :: | dim |
Dimension of the transform. |
|
integer(kind=c_long), | intent(in) | :: | length(*) |
Length of the transform for a one-dimensional transform. Lengths of each dimension for a multi-dimensional transform. |
||
type(c_ptr) | :: | desc |
FFT descriptor. |
Function completion status.
Performs all initialization for the actual FFT computation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | desc |
FFT descriptor. |
Function completion status.
Computes FFT.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | desc |
FFT descriptor. |
||
type(c_ptr), | value | :: | in |
Data to be transformed |
||
type(c_ptr), | value | :: | out |
The transformed data |
||
integer(kind=c_int), | intent(in), | value | :: | sign |
Sign of transform |
Function completion status.
Frees the memory allocated for a descriptor.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | desc |
FFT descriptor. |
Function completion status.
Allocates pointer via mkl_malloc
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_size_t), | value | :: | alloc_bytes |
Number of bytes to allocate. |
||
type(c_ptr) | :: | ptr |
Pointer to allocated memory. |
Function completion status.
Frees pointer via mkl_free
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | ptr |
Pointer to allocated memory. |
Function completion status.
Generates an error message.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_long), | intent(in), | value | :: | error_code |
Completion status of a function. |
Pointer to message
Generates an error message.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_long), | intent(in) | :: | error_code |
Completion status of a function. |
Error message