I’m sorry if this question was posted before but I tried to search and did not find an explanating answer.
Like the topic says: Is it possible to dynamically allocate an free constant memory? My problem is that I need to do some FFT calculations and would like to do some windowing before. For this windowing I would like to have the parameters in constant memory for performance reasons. The program is working for some lower window lengths. But at a certain window length the FFT crashes the program with an CUFFT_EXEC_FAILED. The problem does not occur if I put my window parameters to normal global memory but for I am doing a lot of batched FFTs this decreases performance. After the windowing I could easily free the window buffer for it is not needed any more.
- Is dynamic constant allocation possible?
- Can I influence the amount of constant memory cuFFT may use for the plan?
- Any other suggestions?