Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Internal OpenNL functions that interface MKL. More...
Go to the source code of this file.
Functions | |
NLboolean | nlInitExtension_MKL (void) |
Initializes the MKL extension. More... | |
NLboolean | nlExtensionIsInitialized_MKL (void) |
Tests whether the MKL extension is initialized. More... | |
NLMatrix | nlMKLMatrixNewFromSparseMatrix (NLSparseMatrix *M) |
Creates an optimized MKL matrix from a dynamic sparse matrix. More... | |
NLMatrix | nlMKLMatrixNewFromCRSMatrix (NLCRSMatrix *M) |
Creates an optimized MKL matrix from a CRS sparse matrix. More... | |
Variables | |
NLMultMatrixVectorFunc | NLMultMatrixVector_MKL |
The function pointer to the sparse-matrix times vector function that uses the MKL. If the extension is not initialized, then the pointer is NULL. Works for matrix in the CRS format. Both general and symmetric storage are supported. | |
Internal OpenNL functions that interface MKL.
Definition in file nl_mkl.h.
NLboolean nlExtensionIsInitialized_MKL | ( | void | ) |
Tests whether the MKL extension is initialized.
NL_TRUE | if the extension is initialized |
NL_FALSE | otherwise |
NLboolean nlInitExtension_MKL | ( | void | ) |
Initializes the MKL extension.
This dynamically loads the MKL library available in the system (if available) and retreives the symbols in there.
NL_TRUE | if MKL could be successfully dynamically loaded and all functions could be found in it. |
NL_FALSE | otherwise. |
NLMatrix nlMKLMatrixNewFromCRSMatrix | ( | NLCRSMatrix * | M | ) |
Creates an optimized MKL matrix from a CRS sparse matrix.
The matrix M
should have stored rows. Symmetric storage is not supported yet.
[in] | M | the dynamic sparse matrix. |
NLMatrix nlMKLMatrixNewFromSparseMatrix | ( | NLSparseMatrix * | M | ) |
Creates an optimized MKL matrix from a dynamic sparse matrix.
The matrix M
should have stored rows. Symmetric storage is not supported yet.
[in] | M | the dynamic sparse matrix. |