00001
00014 #ifndef _PLASMA_DESCRIPTOR_H_
00015 #define _PLASMA_DESCRIPTOR_H_
00016
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020
00021
00024 void *plasma_getaddr(PLASMA_desc A, int m, int n);
00025 PLASMA_desc plasma_desc_init(PLASMA_enum dtyp, int mb, int nb, int bsiz, int lm, int ln, int i, int j, int m, int n);
00026 PLASMA_desc plasma_desc_submatrix(PLASMA_desc descA, int i, int j, int m, int n);
00027 int plasma_desc_check(PLASMA_desc *desc);
00028 int plasma_desc_mat_alloc(PLASMA_desc *desc);
00029 int plasma_desc_mat_free(PLASMA_desc *desc);
00030
00031
00034 int PLASMA_Desc_Create(PLASMA_desc **desc, void *mat, PLASMA_enum dtyp, int mb, int nb, int bsiz, int lm, int ln, int i, int j, int m, int n);
00035 int PLASMA_Desc_Destroy(PLASMA_desc **desc);
00036
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040
00041 #endif