LLVM OpenMP 20.0.0git
|
#include <stdio.h>
#include <omp.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | DEP |
struct | task |
struct | ID |
Macros | |
#define | mysleep(n) usleep((n)*1000) |
#define | DELAY 100 |
#define | DEP_ALL_MEM 0x80 |
#define | TIED 1 |
Typedefs | |
typedef struct DEP | dep |
typedef struct task | task_t |
typedef int(* | entry_t) (int, task_t *) |
typedef struct ID | id |
Functions | |
int | thunk_m (int gtid, task_t *ptask) |
int | thunk_s (int gtid, task_t *ptask) |
int | __kmpc_global_thread_num (id *) |
task_t * | __kmpc_omp_task_alloc (id *loc, int gtid, int flags, size_t sz, size_t shar, entry_t rtn) |
int | __kmpc_omp_task_with_deps (id *loc, int gtid, task_t *task, int ndeps, dep *dep_lst, int nd_noalias, dep *noalias_lst) |
void | __kmpc_omp_wait_deps (id *loc, int gtid, int ndeps, dep *dep_lst, int ndeps_noalias, dep *noalias_dep_lst) |
int | main () |
Variables | |
static int | checker = 0 |
static int | err = 0 |
static int | taskwait_flag = 0 |
static id | loc = {0, 2, 0, 0, ";file;func;0;0;;"} |
#define DELAY 100 |
Definition at line 44 of file kmp_taskwait_depend_all.c.
#define DEP_ALL_MEM 0x80 |
Definition at line 54 of file kmp_taskwait_depend_all.c.
#define mysleep | ( | n | ) | usleep((n)*1000) |
Definition at line 35 of file kmp_taskwait_depend_all.c.
#define TIED 1 |
Definition at line 64 of file kmp_taskwait_depend_all.c.
Definition at line 65 of file kmp_taskwait_depend_all.c.
task_t * __kmpc_omp_task_alloc | ( | id * | loc, |
int | gtid, | ||
int | flags, | ||
size_t | sz, | ||
size_t | shar, | ||
entry_t | rtn | ||
) |
Referenced by main().
int __kmpc_omp_task_with_deps | ( | id * | loc, |
int | gtid, | ||
task_t * | task, | ||
int | ndeps, | ||
dep * | dep_lst, | ||
int | nd_noalias, | ||
dep * | noalias_lst | ||
) |
Referenced by main().
void __kmpc_omp_wait_deps | ( | id * | loc, |
int | gtid, | ||
int | ndeps, | ||
dep * | dep_lst, | ||
int | ndeps_noalias, | ||
dep * | noalias_dep_lst | ||
) |
Referenced by main().
Definition at line 135 of file kmp_taskwait_depend_all.c.
References __kmpc_global_thread_num(), __kmpc_omp_task_alloc(), __kmpc_omp_task_with_deps(), __kmpc_omp_wait_deps(), DEP::addr, checker, DELAY, DEP_ALL_MEM, err, task::f_priv, flag, DEP::flags, DEP::len, loc, mysleep, omp_set_dynamic, omp_set_num_threads, taskwait_flag, thunk_m(), thunk_s(), and TIED.
Definition at line 74 of file kmp_taskwait_depend_all.c.
References checker, DELAY, err, task::f_priv, and mysleep.
Referenced by main().
Definition at line 96 of file kmp_taskwait_depend_all.c.
References checker, DELAY, err, task::f_priv, and mysleep.
Referenced by main().
|
static |
Definition at line 39 of file kmp_taskwait_depend_all.c.
|
static |
Definition at line 40 of file kmp_taskwait_depend_all.c.
Definition at line 128 of file kmp_taskwait_depend_all.c.
Referenced by main().
|
static |
Definition at line 41 of file kmp_taskwait_depend_all.c.
Referenced by main().