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 | ID |
Macros | |
#define | mysleep(n) usleep((n)*1000) |
#define | DELAY 100 |
Typedefs | |
typedef int(* | entry_t) (int, int **) |
typedef struct DEP | dep |
typedef struct ID | id |
Functions | |
int | thunk (int gtid, int **pshareds) |
int | __kmpc_global_thread_num (id *) |
int ** | __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, int **task, int nd, dep *dep_lst, int nd_noalias, dep *noalias_dep_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 31 of file omp50_task_depend_mtx2.c.
#define mysleep | ( | n | ) | usleep((n)*1000) |
Definition at line 25 of file omp50_task_depend_mtx2.c.
Definition at line 36 of file omp50_task_depend_mtx2.c.
Referenced by main().
int __kmpc_omp_task_with_deps | ( | id * | loc, |
int | gtid, | ||
int ** | task, | ||
int | nd, | ||
dep * | dep_lst, | ||
int | nd_noalias, | ||
dep * | noalias_dep_lst | ||
) |
Referenced by main().
Definition at line 86 of file omp50_task_depend_mtx2.c.
References __kmpc_global_thread_num(), __kmpc_omp_task_alloc(), __kmpc_omp_task_with_deps(), DEP::addr, DELAY, err, DEP::flags, DEP::len, loc, mysleep, omp_set_num_threads, and thunk().
|
static |
Definition at line 28 of file omp50_task_depend_mtx2.c.
Referenced by thunk().
|
static |
Definition at line 29 of file omp50_task_depend_mtx2.c.
Definition at line 79 of file omp50_task_depend_mtx2.c.
Referenced by main().