Developer Reference

Contents

FFTW Support Functions

The FFTW wrappers provide memory allocation functions to be used with FFTW:
void* fftw_malloc(size_t
n
);
void fftw_free(void*
x
);
The
fftw_malloc
wrapper aligns the memory on a 16-byte boundary.
If
fftw_malloc
fails to allocate memory, it aborts the application. To override this behavior, set a global variable
fftw_malloc_hook
and optionally the complementary variable
fftw_free_hook
:
void *(*fftw_malloc_hook) (size_t n);
void (*fftw_free_hook) (void *p);
The wrappers use the function
fftw_die
to abort the application in cases when a caller cannot be informed of an error otherwise (for example, in computational functions that return
void
). To override this behavior, set a global variable
fftw_die_hook
:
void (*fftw_die_hook)(const char *error_string);
void fftw_die(const char *s);

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