mirror of https://github.com/Jittor/Jittor
clear cache
This commit is contained in:
parent
0b5e367cb1
commit
65832ac10f
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue