Application is hanged after call nested function with Android NDK

为君一笑 提交于 2019-12-04 16:28:54

Thanks for FFTW3 maintainer problem is solved. Solution was to change optimization level from FFTW_MEASURE to FFTW_ESTIMATE (from 1 to 0) in FFTW3,
FFTW's planner (in xtract_init_fft) actually executes and times different possible FFT algorithms in order to pick the fastest plan for a given n. In order to do this in as short a time as possible, however, the timer must have a very high resolution, and to accomplish this FFTW3 employ the hardware cycle counters that are available on most CPUs but not on Android default ARM configuration. So this algorithm use gettimeofday() witch have low resolution and on ARM took forever on xtract_init_fft.

Dan

It looks to me like you are missing some terminating condition in your recursive function X() which would put you in an infinite loop.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!