PLASMA
Parallel Linear Algebra Software for Multicore Architectures
Main Page
Routines
plasma_barrier.h
1
10
#ifndef ICL_PLASMA_BARRIER_H
11
#define ICL_PLASMA_BARRIER_H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
/******************************************************************************/
18
typedef
struct
{
19
int
count;
20
volatile
int
passed;
21
} plasma_barrier_t;
22
23
/******************************************************************************/
24
void
plasma_barrier_init(plasma_barrier_t *barrier);
25
void
plasma_barrier_wait(plasma_barrier_t *barrier,
int
size);
26
27
#ifdef __cplusplus
28
}
// extern "C"
29
#endif
30
31
#endif // ICL_PLASMA_BARRIER_H
include
plasma_barrier.h
Generated by
1.8.10