LLVM OpenMP 20.0.0git
kmp_task_deps.h
Go to the documentation of this file.
1#ifndef KMP_TASK_DEPS_H
2#define KMP_TASK_DEPS_H
3
4#include <stddef.h> /* size_t */
5
6// ---------------------------------------------------------------------------
7// internal data to emulate compiler codegen
8typedef struct DEP {
9 size_t addr;
10 size_t len;
11 unsigned char flags;
13
14typedef struct task {
15 void **shareds;
16 void *entry;
17 int part_id;
18 void *destr_thunk;
19 int priority;
20 long long device_id;
21 int f_priv;
23typedef int (*entry_t)(int, kmp_task_t *);
24typedef struct ID {
25 int reserved_1;
26 int flags;
27 int reserved_2;
28 int reserved_3;
29 char *psource;
31
32#define TIED 1
33
34struct kmp_depnode_list;
35
36typedef struct kmp_base_depnode {
38 /* [...] more stuff down here */
40
41typedef struct kmp_depnode_list {
45
46static id loc = {0, 2, 0, 0, ";file;func;0;0;;"};
47kmp_task_t *__kmpc_omp_task_alloc(id *loc, int gtid, int flags, size_t sz,
48 size_t shar, entry_t rtn);
49int __kmpc_omp_task_with_deps(id *loc, int gtid, kmp_task_t *task, int nd,
50 dep *dep_lst, int nd_noalias,
51 dep *noalias_dep_lst);
55
56#endif /* KMP_TASK_DEPS_H */
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_id __itt_string_handle __itt_metadata_type size_t void ITT_FORMAT p const __itt_domain __itt_id __itt_string_handle const wchar_t size_t ITT_FORMAT lu const __itt_domain __itt_id __itt_relation __itt_id ITT_FORMAT p const wchar_t int ITT_FORMAT __itt_group_mark d int
kmp_depnode_list_t * __kmpc_task_get_successors(kmp_task_t *task)
int __kmpc_omp_task_with_deps(id *loc, int gtid, kmp_task_t *task, int nd, dep *dep_lst, int nd_noalias, dep *noalias_dep_lst)
struct task kmp_task_t
int(* entry_t)(int, kmp_task_t *)
Definition: kmp_task_deps.h:23
struct ID id
struct DEP dep
struct kmp_depnode_list kmp_depnode_list_t
static id loc
Definition: kmp_task_deps.h:46
kmp_base_depnode_t * __kmpc_task_get_depnode(kmp_task_t *task)
struct kmp_base_depnode kmp_base_depnode_t
int __kmpc_global_thread_num(id *)
kmp_task_t * __kmpc_omp_task_alloc(id *loc, int gtid, int flags, size_t sz, size_t shar, entry_t rtn)
size_t len
unsigned char flags
size_t addr
int reserved_2
char * psource
int reserved_3
int reserved_1
struct kmp_depnode_list * successors
Definition: kmp_task_deps.h:37
struct kmp_depnode_list * next
Definition: kmp_task_deps.h:43
struct kmp_base_depnode * node
Definition: kmp_task_deps.h:42
Definition: kmp.h:2472
void * entry
void ** shareds
void * destr_thunk
long long device_id