diff --git a/src/Numerics/Providers/FourierTransform/Mkl/MklFourierTransformProvider.cs b/src/Numerics/Providers/FourierTransform/Mkl/MklFourierTransformProvider.cs
index 55cc3894..48a6baeb 100644
--- a/src/Numerics/Providers/FourierTransform/Mkl/MklFourierTransformProvider.cs
+++ b/src/Numerics/Providers/FourierTransform/Mkl/MklFourierTransformProvider.cs
@@ -89,7 +89,7 @@ namespace MathNet.Numerics.Providers.FourierTransform.Mkl
///
/// Frees the memory allocated to the MKL memory pool.
///
- public void FreeBuffers()
+ internal void FreeBuffers()
{
Kernel kernel = Interlocked.Exchange(ref _kernel, null);
if (kernel != null)
@@ -100,58 +100,6 @@ namespace MathNet.Numerics.Providers.FourierTransform.Mkl
MklProvider.FreeBuffers();
}
- ///
- /// Frees the memory allocated to the MKL memory pool on the current thread.
- ///
- public void ThreadFreeBuffers()
- {
- MklProvider.ThreadFreeBuffers();
- }
-
- ///
- /// Disable the MKL memory pool. May impact performance.
- ///
- public void DisableMemoryPool()
- {
- MklProvider.DisableMemoryPool();
- }
-
- ///
- /// Retrieves information about the MKL memory pool.
- ///
- /// On output, returns the number of memory buffers allocated.
- /// Returns the number of bytes allocated to all memory buffers.
- public long MemoryStatistics(out int allocatedBuffers)
- {
- return MklProvider.MemoryStatistics(out allocatedBuffers);
- }
-
- ///
- /// Enable gathering of peak memory statistics of the MKL memory pool.
- ///
- public void EnablePeakMemoryStatistics()
- {
- MklProvider.EnablePeakMemoryStatistics();
- }
-
- ///
- /// Disable gathering of peak memory statistics of the MKL memory pool.
- ///
- public void DisablePeakMemoryStatistics()
- {
- MklProvider.DisablePeakMemoryStatistics();
- }
-
- ///
- /// Measures peak memory usage of the MKL memory pool.
- ///
- /// Whether the usage counter should be reset.
- /// The peak number of bytes allocated to all memory buffers.
- public long PeakMemoryStatistics(bool reset = true)
- {
- return MklProvider.PeakMemoryStatistics(reset);
- }
-
public override string ToString()
{
return MklProvider.Describe();
diff --git a/src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.cs b/src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.cs
index 210a6172..600150bd 100644
--- a/src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.cs
+++ b/src/Numerics/Providers/LinearAlgebra/Mkl/MklLinearAlgebraProvider.cs
@@ -112,66 +112,6 @@ namespace MathNet.Numerics.Providers.LinearAlgebra.Mkl
}
}
- ///
- /// Frees the memory allocated to the MKL memory pool.
- ///
- public void FreeBuffers()
- {
- MklProvider.FreeBuffers();
- }
-
- ///
- /// Frees the memory allocated to the MKL memory pool on the current thread.
- ///
- public void ThreadFreeBuffers()
- {
- MklProvider.ThreadFreeBuffers();
- }
-
- ///
- /// Disable the MKL memory pool. May impact performance.
- ///
- public void DisableMemoryPool()
- {
- MklProvider.DisableMemoryPool();
- }
-
- ///
- /// Retrieves information about the MKL memory pool.
- ///
- /// On output, returns the number of memory buffers allocated.
- /// Returns the number of bytes allocated to all memory buffers.
- public long MemoryStatistics(out int allocatedBuffers)
- {
- return MklProvider.MemoryStatistics(out allocatedBuffers);
- }
-
- ///
- /// Enable gathering of peak memory statistics of the MKL memory pool.
- ///
- public void EnablePeakMemoryStatistics()
- {
- MklProvider.EnablePeakMemoryStatistics();
- }
-
- ///
- /// Disable gathering of peak memory statistics of the MKL memory pool.
- ///
- public void DisablePeakMemoryStatistics()
- {
- MklProvider.DisablePeakMemoryStatistics();
- }
-
- ///
- /// Measures peak memory usage of the MKL memory pool.
- ///
- /// Whether the usage counter should be reset.
- /// The peak number of bytes allocated to all memory buffers.
- public long PeakMemoryStatistics(bool reset = true)
- {
- return MklProvider.PeakMemoryStatistics(reset);
- }
-
public override string ToString()
{
return MklProvider.Describe();