Table 11.3 illustrates the mapping between MKL’s inspector-executor (I/E) and AOCL-Sparse’s APIs. Most of these APIs have similar signatures. Apart from minor differences like the one in create_csr (4 pointers vs. 3 pointers in the function arguments), porting from MKL to AOCL-Sparse should be straightforward provided the entire MKL Sparse APIs are replaced with the corresponding AOCL-Sparse APIs.
MKL |
AOCL-Sparse |
Comments |
|---|---|---|
|
4 vs. 3 pointers, matrix structure |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
Works for general & symmetric matrices |
|
|
||
|