9.4.1 Library Initialization

To initialize the library, the user should call make_multiplier. It has the following signature:

int make_multiplier(CLA_Matrix_interface *A, CLA_Matrix_interface *B,
 CLA_Matrix_interface *C, CProxy_ArrayElement bindA,
 CProxy_ArrayElement bindB, CProxy_ArrayElement bindC,
 int M, int K, int N, int m, int k, int n, int strideM, int strideK,
 int strideZ, CkCallback cbA, CkCallback cbB, CkCallback cbC,
 CkGroupID gid, int algorithm);

If the initialization success, zero is retuned. Otherwise, a negative number is returned.

September 22, 2008
Charm Homepage