PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
Main Page
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
control.h
Go to the documentation of this file.
1
14
#ifndef _PLASMA_CONTROL_H_
15
#define _PLASMA_CONTROL_H_
16
17
#ifndef __cplusplus
18
extern
int
pthread_getconcurrency
(
void
);
19
extern
int
pthread_setconcurrency
(
int
);
20
#endif
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
/***************************************************************************/
29
void
plasma_barrier_init
(
plasma_context_t
*
plasma
);
30
void
plasma_barrier
(
plasma_context_t
*
plasma
);
31
void
*
plasma_parallel_section
(
void
*
plasma
);
32
int
plasma_setaffinity
(
int
rank);
33
int
plasma_unsetaffinity
();
34
int
plasma_yield
();
35
void
plasma_topology_init
();
36
void
plasma_topology_finalize
();
37
int
plasma_get_numthreads
();
38
int
plasma_get_numthreads_numa
();
39
int
plasma_get_affthreads
(
int
*coresbind);
40
41
/***************************************************************************/
44
int
PLASMA_Init
(
int
cores);
45
int
PLASMA_Init_Affinity
(
int
cores,
int
*bindtab);
46
int
PLASMA_Finalize
();
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
plasma_2.4.5
control
control.h
Generated on Mon Jul 9 2012 12:44:58 for PLASMA by
1.8.1