the launch timed out and was terminated ?

When I ran cufft, sometimes (not always )the cufft will report cufft_exec_failed, I used getlasterror() and got “the launch timed out and was terminated” .
who know the reason?
Is the fft-plan bad?