MathNet.Numerics.Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider.ThreadFreeBuffers C# (CSharp) Method

ThreadFreeBuffers() public method

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

            SafeNativeMethods.thread_free_buffers();
        }