/// <summary> /// Disable the MKL memory pool. May impact performance. /// </summary> public void DisableMemoryPool() { 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.disable_fast_mm(); }
/// <summary> /// Disable the MKL memory pool. May impact performance. /// </summary> public void DisableMklMemoryPool() { SafeNativeMethods.disable_fast_mm(); }