|
PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|

Go to the source code of this file.
Macros | |
| #define | PLASMA_GETENV(var, str) envstr = getenv(var); |
| #define | PLASMA_CLEANENV(str) |
Functions | |
| void | plasma_topology_init () |
| void | plasma_topology_finalize () |
| int | plasma_setaffinity (int rank) |
| int | plasma_unsetaffinity (int rank) |
| int | plasma_yield () |
| int | plasma_get_numthreads () |
| int | plasma_get_numthreads_numa () |
| int | plasma_get_affthreads (int *coresbind) |
| float | cabsf (float _Complex z) |
| double | cabs (double _Complex z) |
| double | cimag (PLASMA_Complex64_t z) |
| double | creal (PLASMA_Complex64_t z) |
| PLASMA_Complex64_t | conj (PLASMA_Complex64_t z) |
This file handles the mapping from pthreads calls to windows threads PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
Definition in file plasmaos.c.
| #define PLASMA_CLEANENV | ( | str | ) |
Definition at line 275 of file plasmaos.c.
| #define PLASMA_GETENV | ( | var, | |
| str | |||
| ) | envstr = getenv(var); |
Definition at line 274 of file plasmaos.c.
| double cabs | ( | double _Complex | z | ) |
Definition at line 410 of file plasmaos.c.
References lapack_testing::f.

| float cabsf | ( | float _Complex | z | ) |
Definition at line 393 of file plasmaos.c.
References lapack_testing::f.

| double cimag | ( | PLASMA_Complex64_t | z | ) |
Definition at line 427 of file plasmaos.c.

| PLASMA_Complex64_t conj | ( | PLASMA_Complex64_t | z | ) |
Definition at line 436 of file plasmaos.c.

| double creal | ( | PLASMA_Complex64_t | z | ) |
Definition at line 431 of file plasmaos.c.

| int plasma_get_affthreads | ( | int * | coresbind | ) |
Definition at line 334 of file plasmaos.c.
References CONTEXT_THREADS_MAX, PLASMA_CLEANENV, plasma_error(), PLASMA_GETENV, and PLASMA_SUCCESS.


| int plasma_get_numthreads | ( | ) |
Definition at line 283 of file plasmaos.c.
References PLASMA_CLEANENV, and PLASMA_GETENV.

| int plasma_get_numthreads_numa | ( | ) |
Definition at line 306 of file plasmaos.c.
References PLASMA_CLEANENV, and PLASMA_GETENV.

| int plasma_setaffinity | ( | int | rank | ) |
This routine will set affinity for the calling thread that has rank 'rank'. Ranks start with 0.
If there are multiple instances of PLASMA then affinity will be wrong: all ranks 0 will be pinned to core 0.
Also, affinity is not resotred when PLASMA_Finalize() is called.
Definition at line 110 of file plasmaos.c.
References PLASMA_ERR_NOT_SUPPORTED, PLASMA_ERR_UNEXPECTED, and PLASMA_SUCCESS.

| void plasma_topology_finalize | ( | ) |
Definition at line 97 of file plasmaos.c.
References plasma_unsetaffinity().


| void plasma_topology_init | ( | ) |
Definition at line 61 of file plasmaos.c.
References pthread_mutex_lock(), and pthread_mutex_unlock().


| int plasma_unsetaffinity | ( | int | rank | ) |
This routine will set affinity for the calling thread that has rank 'rank'. Ranks start with 0.
If there are multiple instances of PLASMA then affinity will be wrong: all ranks 0 will be pinned to core 0.
Also, affinity is not resotred when PLASMA_Finalize() is called.
Definition at line 175 of file plasmaos.c.
References PLASMA_ERR_NOT_SUPPORTED, PLASMA_ERR_UNEXPECTED, PLASMA_SUCCESS, and plasma_warning().

| int plasma_yield | ( | ) |
Definition at line 248 of file plasmaos.c.
References PLASMA_ERR_NOT_SUPPORTED.