C# Class MathNet.Numerics.Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider

Intel's Math Kernel Library (MKL) linear algebra provider.
ファイルを表示 Open project: cdrnet/mathnet-numerics Class Usage Examples

Public Methods

Method Description
DisableMemoryPool ( ) : void

Disable the MKL memory pool. May impact performance.

DisablePeakMemoryStatistics ( ) : void

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

EnablePeakMemoryStatistics ( ) : void

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

FreeBuffers ( ) : void

Frees the memory allocated to the MKL memory pool.

InitializeVerify ( ) : void

Initialize and verify that the provided is indeed available. If calling this method fails, consider to fall back to alternatives like the managed provider.

MemoryStatistics ( int &allocatedBuffers ) : long

Retrieves information about the MKL memory pool.

MklLinearAlgebraProvider ( ) : System
PeakMemoryStatistics ( bool reset = true ) : long

Measures peak memory usage of the MKL memory pool.

ThreadFreeBuffers ( ) : void

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

ToString ( ) : string

Private Methods

Method Description
MklLinearAlgebraProvider ( MklConsistency consistency = MklConsistency.Auto, MklPrecision precision = MklPrecision.Double, MklAccuracy accuracy = MklAccuracy.High ) : System

Method Details

DisableMemoryPool() public method

Disable the MKL memory pool. May impact performance.
public DisableMemoryPool ( ) : void
return void

DisablePeakMemoryStatistics() public method

Disable gathering of peak memory statistics of the MKL memory pool.
public DisablePeakMemoryStatistics ( ) : void
return void

EnablePeakMemoryStatistics() public method

Enable gathering of peak memory statistics of the MKL memory pool.
public EnablePeakMemoryStatistics ( ) : void
return void

FreeBuffers() public method

Frees the memory allocated to the MKL memory pool.
public FreeBuffers ( ) : void
return void

InitializeVerify() public method

Initialize and verify that the provided is indeed available. If calling this method fails, consider to fall back to alternatives like the managed provider.
public InitializeVerify ( ) : void
return void

MemoryStatistics() public method

Retrieves information about the MKL memory pool.
public MemoryStatistics ( int &allocatedBuffers ) : long
allocatedBuffers int On output, returns the number of memory buffers allocated.
return long

MklLinearAlgebraProvider() public method

public MklLinearAlgebraProvider ( ) : System
return System

PeakMemoryStatistics() public method

Measures peak memory usage of the MKL memory pool.
public PeakMemoryStatistics ( bool reset = true ) : long
reset bool Whether the usage counter should be reset.
return long

ThreadFreeBuffers() public method

Frees the memory allocated to the MKL memory pool on the current thread.
public ThreadFreeBuffers ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string