/// <summary> /// Frees the memory allocated to the MKL memory pool. /// </summary> public void FreeBuffers() { Kernel kernel = Interlocked.Exchange(ref _kernel, null); if (kernel != null) { SafeNativeMethods.x_fft_free(ref kernel.Handle); } MklProvider.FreeBuffers(); }
/// <summary> /// Frees the memory allocated to the MKL memory pool. /// </summary> public void FreeBuffers() { MklProvider.FreeBuffers(); }