我要评分
获取效率
正确性
完整性
易理解

Replaceability

Table 1 and Table 2 show the mapping between replaceable interfaces and MKL interfaces.

Table 1 Replacement mapping of the Level 1 interfaces

MKL Interface

KML Interface

Data Type

cblas_?axpyi

kml_sparse_?axpyi

s, d, c, z

cblas_?doti

kml_sparse_?doti

s, d

cblas_?dotci

kml_sparse_?dotci_sub

c, z

cblas_?dotui

kml_sparse_?dotui_sub

c, z

cblas_?gthr

kml_sparse_?gthr

s, d, c, z

cblas_?gthrz

kml_sparse_?gthrz

s, d, c, z

cblas_?roti

kml_sparse_?roti

s, d

cblas_?sctr

kml_sparse_?sctr

s, d, c, z

Table 2 Replacement mapping of Level 2 and Level 3 interfaces

MKL Interface

KML Interface

Data Type

Description

mkl_?csrgemv

kml_sparse_?csrgemv

s, d, c, z

Simple interfaces (only for one-based indexing)

mkl_?csrsymv

kml_sparse_?csrsymv

s, d, c, z

Simple interfaces (only for one-based indexing)

mkl_cspblas_?csrgemv

kml_csparse_?csrgemv

s, d, c, z

Simple interfaces (only for zero-based indexing)

mkl_cspblas_?csrsymv

kml_csparse_?csrsymv

s, d, c, z

Simple interfaces (only for zero-based indexing)

mkl_?csrmv

kml_sparse_?csrmv

s, d, c, z

Common interfaces (for one- and zero-based indexing)

mkl_?csrsv

kml_sparse_?csrsv

s, d, c, z

Common interfaces (for one- and zero-based indexing)

mkl_?csrmm

kml_sparse_?csrmm

s, d, c, z

Common interfaces (for one- and zero-based indexing)

mkl_?csradd

kml_sparse_?csradd

s, d, c, z

Interfaces for sparse matrix operations

mkl_?csrmultcsr

kml_sparse_?csrmultcsr

s, d, c, z

Interfaces for sparse matrix operations

mkl_?csrmultd

kml_sparse_?csrmultd

s, d, c, z

Interfaces for sparse matrix operations