this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow user override of KISS_FFT_MALLOC and/or KISS_FFT_FREE on SIMD platforms

+7 -3
+7 -3
kiss_fft.h
··· 31 31 in the tools/ directory. 32 32 */ 33 33 34 + /* User may override KISS_FFT_MALLOC and/or KISS_FFT_FREE. */ 34 35 #ifdef USE_SIMD 35 36 # include <xmmintrin.h> 36 37 # define kiss_fft_scalar __m128 37 - # define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16) 38 - # define KISS_FFT_FREE _mm_free 38 + # ifndef KISS_FFT_MALLOC 39 + # define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16) 40 + # endif 41 + # ifndef KISS_FFT_FREE 42 + # define KISS_FFT_FREE _mm_free 43 + # endif 39 44 #else 40 - /* user may override KISS_FFT_MALLOC and/or KISS_FFT_FREE */ 41 45 # ifndef KISS_FFT_MALLOC 42 46 # define KISS_FFT_MALLOC malloc 43 47 # endif