/// <summary> /// Frees the memory allocated to the MKL memory pool on the current thread. /// </summary> public void ThreadFreeBuffers() { if (SafeNativeMethods.query_capability((int)ProviderConfig.Memory) < 1) { throw new NotSupportedException("MKL Native Provider does not support memory management functions. Consider upgrading to a newer version."); } SafeNativeMethods.thread_free_buffers(); }
/// <summary> /// Frees the memory allocated to the MKL memory pool on the current thread. /// </summary> public void ThreadFreeBuffers() { SafeNativeMethods.thread_free_buffers(); }