PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Go to the source code of this file.
Functions | |
void | plasma_warning (const char *func_name, char *msg_text) |
void | plasma_error (const char *func_name, char *msg_text) |
void | plasma_fatal_error (const char *func_name, char *msg_text) |
int | plasma_element_size (int type) |
void | plasma_memcpy (void *dst, void *src, PLASMA_size size, int type) |
void | plasma_memzero (void *memptr, PLASMA_size size, int type) |
void | plasma_memset_int (int *mem, int size, int value) |
int | plasma_rank (plasma_context_t *plasma) |
int | plasma_tune (PLASMA_enum func, int M, int N, int NRHS) |
int | PLASMA_Version (int *ver_major, int *ver_minor, int *ver_micro) |
int plasma_element_size | ( | int | type | ) |
Definition at line 95 of file auxiliary.c.
References PLASMA_ERR_ILLEGAL_VALUE, plasma_fatal_error(), PlasmaByte, PlasmaComplexDouble, PlasmaComplexFloat, PlasmaInteger, PlasmaRealDouble, and PlasmaRealFloat.
void plasma_error | ( | const char * | func_name, |
char * | msg_text | ||
) |
Indicates a recoverable problem. User's erroneous action with potentially severe consequences. Problems occuring due to incorrect use of PLASMA. Context aware.
[in] | func_name | Function location where warning occurred |
[in] | msg_text | Warning message to display. |
Definition at line 61 of file auxiliary.c.
References plasma_context_struct::errors_enabled, plasma_context_self(), and plasma_fatal_error().
void plasma_fatal_error | ( | const char * | func_name, |
char * | msg_text | ||
) |
Unexpected behavior within the library. Unrecoverable user errors. Context oblivious.
[in] | func_name | Function location where warning occurred |
[in] | msg_text | Warning message to display. |
Definition at line 86 of file auxiliary.c.
void plasma_memcpy | ( | void * | dst, |
void * | src, | ||
PLASMA_size | size, | ||
int | type | ||
) |
Definition at line 113 of file auxiliary.c.
References plasma_element_size().
void plasma_memset_int | ( | int * | mem, |
int | size, | ||
int | value | ||
) |
Definition at line 129 of file auxiliary.c.
void plasma_memzero | ( | void * | memptr, |
PLASMA_size | size, | ||
int | type | ||
) |
Definition at line 121 of file auxiliary.c.
References plasma_element_size().
int plasma_rank | ( | plasma_context_t * | plasma | ) |
Returns core id
Definition at line 140 of file auxiliary.c.
References PLASMA_ERR_NOT_FOUND, pthread_equal(), pthread_self(), plasma_context_struct::thread_id, and plasma_context_struct::world_size.
int plasma_tune | ( | PLASMA_enum | func, |
int | M, | ||
int | N, | ||
int | NRHS | ||
) |
Tune block size nb and internal block size ib
Definition at line 155 of file auxiliary.c.
References plasma_context_struct::autotuning_enabled, plasma_context_struct::ib, plasma_context_struct::ibnbsize, plasma_context_struct::nb, plasma_context_struct::nbnbsize, plasma_context_self(), PLASMA_ERR_ILLEGAL_VALUE, PLASMA_ERR_NOT_INITIALIZED, plasma_fatal_error(), PLASMA_FUNC_CGEBRD, PLASMA_FUNC_CGEEV, PLASMA_FUNC_CGEHRD, PLASMA_FUNC_CGELS, PLASMA_FUNC_CGEMM, PLASMA_FUNC_CGESV, PLASMA_FUNC_CGESVD, PLASMA_FUNC_CHEEV, PLASMA_FUNC_CHEGST, PLASMA_FUNC_CHEGV, PLASMA_FUNC_CHEMM, PLASMA_FUNC_CHERK, PLASMA_FUNC_CHETRD, PLASMA_FUNC_CPOSV, PLASMA_FUNC_CSYMM, PLASMA_FUNC_CSYRK, PLASMA_FUNC_DGEBRD, PLASMA_FUNC_DGEEV, PLASMA_FUNC_DGEHRD, PLASMA_FUNC_DGELS, PLASMA_FUNC_DGEMM, PLASMA_FUNC_DGESV, PLASMA_FUNC_DGESVD, PLASMA_FUNC_DPOSV, PLASMA_FUNC_DSGELS, PLASMA_FUNC_DSGESV, PLASMA_FUNC_DSPOSV, PLASMA_FUNC_DSYEV, PLASMA_FUNC_DSYGST, PLASMA_FUNC_DSYGV, PLASMA_FUNC_DSYMM, PLASMA_FUNC_DSYRK, PLASMA_FUNC_DSYTRD, PLASMA_FUNC_SGEBRD, PLASMA_FUNC_SGEEV, PLASMA_FUNC_SGEHRD, PLASMA_FUNC_SGELS, PLASMA_FUNC_SGEMM, PLASMA_FUNC_SGESV, PLASMA_FUNC_SGESVD, PLASMA_FUNC_SPOSV, PLASMA_FUNC_SSYEV, PLASMA_FUNC_SSYGST, PLASMA_FUNC_SSYGV, PLASMA_FUNC_SSYMM, PLASMA_FUNC_SSYRK, PLASMA_FUNC_SSYTRD, PLASMA_FUNC_ZCGELS, PLASMA_FUNC_ZCGESV, PLASMA_FUNC_ZCPOSV, PLASMA_FUNC_ZGEBRD, PLASMA_FUNC_ZGEEV, PLASMA_FUNC_ZGEHRD, PLASMA_FUNC_ZGELS, PLASMA_FUNC_ZGEMM, PLASMA_FUNC_ZGESV, PLASMA_FUNC_ZGESVD, PLASMA_FUNC_ZHEEV, PLASMA_FUNC_ZHEGST, PLASMA_FUNC_ZHEGV, PLASMA_FUNC_ZHEMM, PLASMA_FUNC_ZHERK, PLASMA_FUNC_ZHETRD, PLASMA_FUNC_ZPOSV, PLASMA_FUNC_ZSYMM, PLASMA_FUNC_ZSYRK, and PLASMA_SUCCESS.
int PLASMA_Version | ( | int * | ver_major, |
int * | ver_minor, | ||
int * | ver_micro | ||
) |
PLASMA_Version - Reports PLASMA version number.
[out] | ver_major | PLASMA major version number. |
[out] | ver_minor | PLASMA minor version number. |
[out] | ver_micro | PLASMA micro version number. |
PLASMA_SUCCESS | successful exit |
Definition at line 296 of file auxiliary.c.
References PLASMA_ERR_ILLEGAL_VALUE, PLASMA_SUCCESS, PLASMA_VERSION_MAJOR, PLASMA_VERSION_MICRO, and PLASMA_VERSION_MINOR.
void plasma_warning | ( | const char * | func_name, |
char * | msg_text | ||
) |
Indicates a recoverable problem. User's erroneous action without severe consequences. Problems occuring while PLASMA is being used correctly. Context aware.
[in] | func_name | Function location where warning occurred |
[in] | msg_text | Warning message to display. |
Definition at line 36 of file auxiliary.c.
References plasma_context_self(), plasma_fatal_error(), and plasma_context_struct::warnings_enabled.