LLVM OpenMP 20.0.0git
|
#include <omp.h>
#include <stdio.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) |
int | main () |
Variables | |
static int | checker = 0 |
static int | err = 0 |
static id | loc = {0, 2, 0, 0, ";file;func;0;0;;"} |
#define DELAY 100 |
Definition at line 43 of file omp_task_depend_all.c.
#define DEP_ALL_MEM 0x80 |
Definition at line 53 of file omp_task_depend_all.c.
#define mysleep | ( | n | ) | usleep((n)*1000) |
Definition at line 36 of file omp_task_depend_all.c.
#define TIED 1 |
Definition at line 63 of file omp_task_depend_all.c.
Definition at line 64 of file omp_task_depend_all.c.
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 | ||
) |
Definition at line 132 of file omp_task_depend_all.c.
References __kmpc_global_thread_num(), __kmpc_omp_task_alloc(), __kmpc_omp_task_with_deps(), DEP::addr, checker, DELAY, err, task::f_priv, DEP::flags, DEP::len, loc, mysleep, omp_set_dynamic, omp_set_num_threads, thunk_s(), and TIED.
Definition at line 73 of file omp_task_depend_all.c.
References checker, DELAY, err, task::f_priv, and mysleep.
Definition at line 95 of file omp_task_depend_all.c.
References checker, DELAY, err, task::f_priv, and mysleep.
|
static |
Definition at line 40 of file omp_task_depend_all.c.
|
static |
Definition at line 41 of file omp_task_depend_all.c.
Definition at line 125 of file omp_task_depend_all.c.