Namespaces

Types in MathNet.Numerics.Providers.Common.Mkl

Type MklProvider

Namespace MathNet.Numerics.Providers.Common.Mkl

Static Functions

Public Static Functions

string Describe()

void DisableMemoryPool()

Disable the MKL memory pool. May impact performance.

void DisablePeakMemoryStatistics()

Disable gathering of peak memory statistics of the MKL memory pool.

void EnablePeakMemoryStatistics()

Enable gathering of peak memory statistics of the MKL memory pool.

void FreeBuffers()

Frees the memory allocated to the MKL memory pool.

void FreeResources()

Frees memory buffers, caches and handles allocated in or to the provider. Does not unload the provider itself, it is still usable afterwards. This method is safe to call, even if the provider is not loaded.

bool IsAvailable(string hintPath)

int Load(string hintPath)

Return
int

Revision

int Load(string hintPath, MklConsistency consistency, MklPrecision precision, MklAccuracy accuracy)

Return
int

Revision

long MemoryStatistics(Int32& allocatedBuffers)

long PeakMemoryStatistics(bool reset)

Measures peak memory usage of the MKL memory pool.
Parameters
bool reset

Whether the usage counter should be reset.

Return
long

The peak number of bytes allocated to all memory buffers.

void ThreadFreeBuffers()

Frees the memory allocated to the MKL memory pool on the current thread.