PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 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 /***************************************************************************/
31 void *plasma_parallel_section(void *plasma);
32 int plasma_setaffinity(int rank);
34 int plasma_yield();
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