/// <summary> /// Frees memory buffers, caches and handles allocated in or to the provider. /// Does not unload the provider itself, it is still usable afterwards. /// </summary> public virtual void FreeResources() { Kernel kernel = Interlocked.Exchange(ref _kernel, null); if (kernel != null) { SafeNativeMethods.x_fft_free(ref kernel.Handle); } MklProvider.FreeResources(); }
/// <summary> /// Frees memory buffers, caches and handles allocated in or to the provider. /// Does not unload the provider itself, it is still usable afterwards. /// </summary> public void FreeResources() { MklProvider.FreeResources(); }
/// <summary> /// Frees memory buffers, caches and handles allocated in or to the provider. /// Does not unload the provider itself, it is still usable afterwards. /// </summary> public override void FreeResources() { MklProvider.FreeResources(); }