clear cache

This commit is contained in:
cxjyxx_me 2022-03-28 09:41:46 -04:00
parent 0b5e367cb1
commit 65832ac10f
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ inline ~cufft_initer() {
for (auto it = cufft_handle_cache.begin(); it != cufft_handle_cache.end(); it++) {
CUFFT_CALL(cufftDestroy(it->second));
}
cufft_handle_cache.clear();
LOGv << "cufftDestroy finished";
}