Developer Reference

Contents

free_sph_p/free_sph_np

Releases the memory allocated for the data structures used by the FFT interface.

Syntax

void free_sph_p
(
DFTI_DESCRIPTOR_HANDLE*
handle_s,
DFTI_DESCRIPTOR_HANDLE*
handle_c,
MKL_INT*
ipar,
MKL_INT*
stat
)
;
void free_sph_np
(
DFTI_DESCRIPTOR_HANDLE*
handle,
MKL_INT*
ipar,
MKL_INT*
stat
)
;
Include Files
  • mkl.h
Input Parameters
handle_s, handle_c, handle
DFTI_DESCRIPTOR_HANDLE*
. Data structures used by the
Intel® MKL
FFT interface (for details, refer toFFT Functions). The structures
handle_s
and
handle_c
are used only in
free_sph_p
, and
handle
is used only in
free_sph_np
.
ipar
MKL_INT
array of size 128. Contains integer data to be used by Fast Helmholtz Solver on a sphere (for details, refer to
ipar
).
Output Parameters
handle_s, handle_c, handle
Data structures used by the
Intel® MKL
FFT interface. Memory allocated for the structures is released on output.
ipar
Contains integer data to be used by Fast Helmholtz Solver on a sphere. On output, the status of the routine call is written to
ipar[0]
.
stat
MKL_INT*
. Routine completion status, which is also written to
ipar[0]
.
Description
The
free_sph_p/free_sph_np
routine releases the memory used by the
handle_s
,
handle_c
or
handle
structures, needed for calling the
Intel® MKL
FFT functions. To release memory allocated for other parameters, include memory release statements in your code.
Return Values
stat
= 0
The routine successfully completed the task.
stat
= -1000
The routine stopped because of an
Intel® MKL
FFT or TT interface error.
stat
= -99999
The routine failed to complete the task because of a fatal error.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804