Rate This Document
Findability
Accuracy
Completeness
Readability

Replaceability

The external interfaces provided by KML_SOLVER are different from those provided by MKL in terms of interface parameters and function names. Therefore, some source code needs to be modified.

Table 1 shows the mapping relationship between alternative interfaces and MKL interfaces.

Table 1 SOLVER replacement mapping

MKL Interface

KML Interface

dcg_init

KmlIssCgInitDI

dcg

KmlIssCgSolveDI

dcg_get

KmlIssCgGetDID

mkl_sparse_destroy

KmlIssCgCleanDI

The preceding interfaces are C interfaces. For details, see the section about KML_SOLVER function syntax in Kunpeng Math Library Developer Guide.