50#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
84 size_t sizeof_kmp_task_t,
size_t sizeof_shareds,
125 dep_info.
len =
sizeof(
int);
134 int first_task_finished = 0;
135 #pragma omp task shared(first_task_finished) depend(inout: dep)
137 first_task_finished = 1;
140 int second_task_finished = 0;
141 #pragma omp task shared(second_task_finished) depend(in: dep)
143 second_task_finished = 1;
148 int error = (first_task_finished == 1);
149 error += (second_task_finished == 1);
154 error += (first_task_finished != 1);
155 error += (second_task_finished != 1);
void * target(void *task)
kmp_task_t * __kmpc_omp_task_alloc(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 flags, size_t sizeof_kmp_task_t, size_t sizeof_shareds, kmp_routine_entry_t task_entry)
kmp_int32 __kmpc_omp_task(ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task)
struct kmp_task kmp_task_t
struct kmp_depend_info kmp_depend_info_t
int task_entry(kmp_int32 gtid, kmp_task_t *task)
kmp_int32(*)(kmp_int32, void *) kmp_routine_entry_t
void __kmpc_proxy_task_completed_ooo(kmp_task_t *ptask)
kmp_int32 __kmpc_omp_task_with_deps(ident_t *loc_ref, kmp_int32 gtid, kmp_task_t *new_task, kmp_int32 ndeps, kmp_depend_info_t *dep_list, kmp_int32 ndeps_noalias, kmp_depend_info_t *noalias_dep_list)
kmp_int32 __kmpc_global_thread_num(ident_t *)
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
static void my_sleep(double sleeptime)
Utility function to have a sleep function with better resolution and which only stops one thread.
The ident structure that describes a source location.
char const * psource
String describing the source location.
kmp_int32 reserved_1
might be used in Fortran; see above
kmp_int32 reserved_2
not really used in Fortran any more; see above
kmp_int32 reserved_3
source[4] in Fortran, do not use for C++
kmp_int32 flags
also f.flags; KMP_IDENT_xxx flags; KMP_IDENT_KMPC identifies this union member
struct kmp_depend_info::@8::@10 flags
void * shareds
pointer to block of pointers to shared vars
kmp_int32 part_id
part id for the task
kmp_routine_entry_t routine
pointer to routine to call for executing task