|
MAGMA
1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
|
Go to the source code of this file.
Functions | |
| magma_context_t * | magma_context_create () |
| magma_context_t * | magma_context_self () |
| int | magma_context_destroy () |
| int | MAGMA_Enable (MAGMA_enum option) |
| int | MAGMA_Disable (MAGMA_enum option) |
| int | MAGMA_Set (MAGMA_enum param, int value) |
| int | MAGMA_Get (MAGMA_enum param, int *value) |
Variables | |
| static magma_context_t * | magma_ctxt = NULL |
| magma_context_t* magma_context_create | ( | ) |
Create new context
Definition at line 28 of file context.c.
References magma_context_s::autotuning_enabled, magma_context_s::errors_enabled, magma_context_s::householder, magma_context_s::ib, magma_error, MAGMA_FALSE, MAGMA_FLAT_HOUSEHOLDER, MAGMA_OUTOFPLACE, MAGMA_SCHED_QUARK, MAGMA_TRUE, morse_context_create(), magma_context_s::nb, magma_context_s::ncudas, magma_context_s::nthreads_per_worker, magma_context_s::nworkers, magma_context_s::parallel_enabled, magma_context_s::profiling_enabled, magma_context_s::rhblock, magma_context_s::scheduler, magma_context_s::translation, and magma_context_s::warnings_enabled.
| int magma_context_destroy | ( | ) |
Clean the context
Definition at line 83 of file context.c.
References MAGMA_SUCCESS, and morse_context_destroy().
| magma_context_t* magma_context_self | ( | ) |
| int MAGMA_Disable | ( | MAGMA_enum | option | ) |
MAGMA_Disable - Disable MAGMA feature.
| [in] | lever | Feature to be disabled:
|
| MAGMA_SUCCESS | successful exit |
Definition at line 172 of file context.c.
References magma_context_s::autotuning_enabled, magma_context_s::errors_enabled, MAGMA_AUTOTUNING, magma_context_self(), MAGMA_ERR_ILLEGAL_VALUE, MAGMA_ERR_NOT_INITIALIZED, magma_error, MAGMA_ERRORS, MAGMA_FALSE, MAGMA_PARALLEL_MODE, MAGMA_PROFILING_MODE, MAGMA_SUCCESS, MAGMA_WARNINGS, morse_disable(), magma_context_s::parallel_enabled, magma_context_s::profiling_enabled, and magma_context_s::warnings_enabled.
| int MAGMA_Enable | ( | MAGMA_enum | option | ) |
MAGMA_Enable - Enable MAGMA feature.
| [in] | lever | Feature to be enabled:
|
| MAGMA_SUCCESS | successful exit |
Definition at line 113 of file context.c.
References magma_context_s::autotuning_enabled, magma_context_s::errors_enabled, MAGMA_AUTOTUNING, magma_context_self(), MAGMA_ERR_ILLEGAL_VALUE, MAGMA_ERR_NOT_INITIALIZED, magma_error, MAGMA_ERRORS, MAGMA_PROFILING_MODE, MAGMA_SUCCESS, MAGMA_TRUE, MAGMA_WARNINGS, morse_enable(), magma_context_s::profiling_enabled, and magma_context_s::warnings_enabled.
| int MAGMA_Get | ( | MAGMA_enum | param, |
| int * | value | ||
| ) |
MAGMA_Get - Get value of MAGMA parameter.
| [in] | param | Feature to be enabled:
|
| [out] | value | Value of the parameter. |
| MAGMA_SUCCESS | successful exit |
Definition at line 325 of file context.c.
References magma_context_s::householder, magma_context_s::ib, magma_context_self(), MAGMA_ERR_ILLEGAL_VALUE, MAGMA_ERR_NOT_INITIALIZED, magma_error, MAGMA_HOUSEHOLDER_MODE, MAGMA_HOUSEHOLDER_SIZE, MAGMA_INNER_BLOCK_SIZE, MAGMA_SUCCESS, MAGMA_TILE_SIZE, MAGMA_TRANSLATION_MODE, magma_context_s::nb, magma_context_s::rhblock, and magma_context_s::translation.
| int MAGMA_Set | ( | MAGMA_enum | param, |
| int | value | ||
| ) |
MAGMA_Set - Set MAGMA parameter.
| [in] | param | Feature to be enabled:
|
| [in] | value | Value of the parameter. |
| MAGMA_SUCCESS | successful exit |
Definition at line 231 of file context.c.
References magma_context_s::autotuning_enabled, magma_context_s::householder, magma_context_s::ib, magma_context_self(), MAGMA_ERR_ILLEGAL_VALUE, MAGMA_ERR_NOT_INITIALIZED, magma_error, MAGMA_FALSE, MAGMA_FLAT_HOUSEHOLDER, MAGMA_HOUSEHOLDER_MODE, MAGMA_HOUSEHOLDER_SIZE, MAGMA_INNER_BLOCK_SIZE, MAGMA_INPLACE, MAGMA_OUTOFPLACE, MAGMA_SUCCESS, MAGMA_TILE_SIZE, MAGMA_TRANSLATION_MODE, MAGMA_TREE_HOUSEHOLDER, magma_warning, min, magma_context_s::nb, magma_context_s::rhblock, and magma_context_s::translation.
|
static |