33char const *traits_t<int>::spec =
"d";
34char const *traits_t<unsigned int>::spec =
"u";
35char const *traits_t<long long>::spec =
"lld";
36char const *traits_t<unsigned long long>::spec =
"llu";
37char const *traits_t<long>::spec =
"ld";
42#define KMP_STATS_LOOP_END(stat) \
45 kmp_int64 u = (kmp_int64)(*pupper); \
46 kmp_int64 l = (kmp_int64)(*plower); \
47 kmp_int64 i = (kmp_int64)incr; \
50 } else if (i == -1) { \
53 t = (u - l) / i + 1; \
55 KMP_DEBUG_ASSERT(i != 0); \
56 t = (l - u) / (-i) + 1; \
58 KMP_COUNT_VALUE(stat, t); \
59 KMP_POP_PARTITIONED_TIMER(); \
62#define KMP_STATS_LOOP_END(stat)
65#if USE_ITT_BUILD || defined KMP_DEBUG
77 typename traits_t<T>::signed_t *pstride,
78 typename traits_t<T>::signed_t incr,
79 typename traits_t<T>::signed_t chunk
80#
if OMPT_SUPPORT && OMPT_OPTIONAL
92 typedef typename traits_t<T>::unsigned_t UT;
93 typedef typename traits_t<T>::signed_t
ST;
103#if OMPT_SUPPORT && OMPT_OPTIONAL
106 ompt_work_t ompt_work_type = ompt_work_loop_static;
117 ompt_work_type = ompt_work_loop_static;
119 ompt_work_type = ompt_work_sections;
121 ompt_work_type = ompt_work_distribute;
131#define OMPT_LOOP_BEGIN(count) \
132 if (ompt_enabled.ompt_callback_work) { \
133 ompt_callbacks.ompt_callback(ompt_callback_work)( \
134 ompt_work_type, ompt_scope_begin, &(team_info->parallel_data), \
135 &(task_info->task_data), count, codeptr); \
138#define OMPT_LOOP_BEGIN(count)
142 KE_TRACE(10, (
"__kmpc_for_static_init called (%d)\n", global_tid));
148 "__kmpc_for_static_init: T#%%d sched=%%d liter=%%d iter=(%%%s,"
149 " %%%s, %%%s) incr=%%%s chunk=%%%s signed?<%s>\n",
150 traits_t<T>::spec, traits_t<T>::spec, traits_t<ST>::spec,
151 traits_t<ST>::spec, traits_t<ST>::spec, traits_t<T>::spec);
152 KD_TRACE(100, (buff, global_tid, schedtype, *plastiter, *plower, *pupper,
153 *pstride, incr, chunk));
166 if (incr > 0 ? (*pupper < *plower) : (*plower < *pupper)) {
167 if (plastiter != NULL)
180 "lower=%%%s upper=%%%s stride = %%%s "
181 "signed?<%s>, loc = %%s\n",
182 traits_t<T>::spec, traits_t<T>::spec,
183 traits_t<ST>::spec, traits_t<T>::spec);
186 (buff, *plastiter, *plower, *pupper, *pstride,
loc->psource));
190 KE_TRACE(10, (
"__kmpc_for_static_init: T#%d return\n", global_tid));
205 if (th->th.th_team->t.t_serialized > 1) {
207 team = th->th.th_team;
209 tid = th->th.th_team->t.t_master_tid;
210 team = th->th.th_team->
t.t_parent;
214 team = th->th.th_team;
218 if (team->
t.t_serialized) {
220 if (plastiter != NULL)
224 (incr > 0) ? (*pupper - *plower + 1) : (-(*plower - *pupper + 1));
231 "lower=%%%s upper=%%%s stride = %%%s\n",
232 traits_t<T>::spec, traits_t<T>::spec,
234 KD_TRACE(100, (buff, *plastiter, *plower, *pupper, *pstride));
238 KE_TRACE(10, (
"__kmpc_for_static_init: T#%d return\n", global_tid));
244 nth = team->
t.t_nproc;
246 if (plastiter != NULL)
249 (incr > 0) ? (*pupper - *plower + 1) : (-(*plower - *pupper + 1));
255 "lower=%%%s upper=%%%s stride = %%%s\n",
256 traits_t<T>::spec, traits_t<T>::spec,
258 KD_TRACE(100, (buff, *plastiter, *plower, *pupper, *pstride));
262 KE_TRACE(10, (
"__kmpc_for_static_init: T#%d return\n", global_tid));
271 trip_count = *pupper - *plower + 1;
272 }
else if (incr == -1) {
273 trip_count = *plower - *pupper + 1;
274 }
else if (incr > 0) {
276 trip_count = (UT)(*pupper - *plower) / incr + 1;
279 trip_count = (UT)(*plower - *pupper) / (-incr) + 1;
290 if (trip_count == 0 && *pupper != *plower) {
299 if (trip_count < nth) {
304 if (tid < trip_count) {
305 *pupper = *plower = *plower + tid * incr;
308 *plower = *pupper + (incr > 0 ? 1 : -1);
310 if (plastiter != NULL)
311 *plastiter = (tid == trip_count - 1);
315 UT small_chunk = trip_count / nth;
316 UT extras = trip_count % nth;
317 *plower += incr * (tid * small_chunk + (tid < extras ? tid : extras));
318 *pupper = *plower + small_chunk * incr - (tid < extras ? 0 : incr);
319 if (plastiter != NULL)
320 *plastiter = (tid == nth - 1);
322 T big_chunk_inc_count =
323 (trip_count / nth + ((trip_count % nth) ? 1 : 0)) * incr;
324 T old_upper = *pupper;
329 *plower += tid * big_chunk_inc_count;
330 *pupper = *plower + big_chunk_inc_count - incr;
332 if (*pupper < *plower)
333 *pupper = traits_t<T>::max_value;
334 if (plastiter != NULL)
335 *plastiter = *plower <= old_upper && *pupper > old_upper - incr;
336 if (*pupper > old_upper)
339 if (*pupper > *plower)
340 *pupper = traits_t<T>::min_value;
341 if (plastiter != NULL)
342 *plastiter = *plower >= old_upper && *pupper < old_upper - incr;
343 if (*pupper < old_upper)
348 *pstride = trip_count;
357 else if ((UT)chunk > trip_count)
359 nchunks = (trip_count) / (UT)chunk + (trip_count % (UT)chunk ? 1 : 0);
362 *pstride = span * nchunks;
364 *plower = *plower + (span * tid);
365 *pupper = *plower + span - incr;
367 *plower = *pupper + (incr > 0 ? 1 : -1);
370 *pstride = span * nth;
371 *plower = *plower + (span * tid);
372 *pupper = *plower + span - incr;
374 if (plastiter != NULL)
375 *plastiter = (tid == (nchunks - 1) % nth);
379 T old_upper = *pupper;
382 UT span = (trip_count + nth - 1) / nth;
385 chunk = (span + chunk - 1) & ~(chunk - 1);
388 *plower = *plower + (span * tid);
389 *pupper = *plower + span - incr;
391 if (*pupper > old_upper)
393 }
else if (*pupper < old_upper)
396 if (plastiter != NULL) {
398 *plastiter = (tid == ((trip_count - 1) / (UT)chunk));
403 KMP_ASSERT2(0,
"__kmpc_for_static_init: unknown scheduling type");
410 __kmp_forkjoin_frames_mode == 3 && th->th.th_teams_microtask == NULL &&
411 team->
t.t_active_level == 1) {
418 cur_chunk = trip_count / nth + ((trip_count % nth) ? 1 : 0);
421 __kmp_itt_metadata_loop(
loc, 0, trip_count, cur_chunk);
429 "upper=%%%s stride = %%%s signed?<%s>\n",
430 traits_t<T>::spec, traits_t<T>::spec,
431 traits_t<ST>::spec, traits_t<T>::spec);
432 KD_TRACE(100, (buff, *plastiter, *plower, *pupper, *pstride));
436 KE_TRACE(10, (
"__kmpc_for_static_init: T#%d return\n", global_tid));
439#if OMPT_SUPPORT && OMPT_OPTIONAL
441 ompt_dispatch_t dispatch_type;
442 ompt_data_t
instance = ompt_data_none;
443 ompt_dispatch_chunk_t dispatch_chunk;
444 if (ompt_work_type == ompt_work_sections) {
445 dispatch_type = ompt_dispatch_section;
448 OMPT_GET_DISPATCH_CHUNK(dispatch_chunk, *plower, *pupper, incr);
449 dispatch_type = (ompt_work_type == ompt_work_distribute)
450 ? ompt_dispatch_distribute_chunk
451 : ompt_dispatch_ws_loop_chunk;
467 T *plower, T *pupper, T *pupperDist,
468 typename traits_t<T>::signed_t *pstride,
469 typename traits_t<T>::signed_t incr,
470 typename traits_t<T>::signed_t chunk
471#
if OMPT_SUPPORT && OMPT_OPTIONAL
479 typedef typename traits_t<T>::unsigned_t UT;
480 typedef typename traits_t<T>::signed_t
ST;
490 KE_TRACE(10, (
"__kmpc_dist_for_static_init called (%d)\n", gtid));
497 "__kmpc_dist_for_static_init: T#%%d schedLoop=%%d liter=%%d "
498 "iter=(%%%s, %%%s, %%%s) chunk=%%%s signed?<%s>\n",
499 traits_t<T>::spec, traits_t<T>::spec, traits_t<ST>::spec,
500 traits_t<ST>::spec, traits_t<T>::spec);
502 (buff, gtid, schedule, *plastiter, *plower, *pupper, incr, chunk));
513 if (incr > 0 ? (*pupper < *plower) : (*plower < *pupper)) {
528 nth = th->th.th_team_nproc;
529 team = th->th.th_team;
535 while (team->
t.t_parent && team->
t.t_serialized)
536 team = team->
t.t_parent;
537 nteams = th->th.th_teams_size.nteams;
538 team_id = team->
t.t_master_tid;
543 trip_count = *pupper - *plower + 1;
544 }
else if (incr == -1) {
545 trip_count = *plower - *pupper + 1;
546 }
else if (incr > 0) {
548 trip_count = (UT)(*pupper - *plower) / incr + 1;
551 trip_count = (UT)(*plower - *pupper) / (-incr) + 1;
554 *pstride = *pupper - *plower;
555 if (trip_count <= nteams) {
562 if (team_id < trip_count && tid == 0) {
563 *pupper = *pupperDist = *plower = *plower + team_id * incr;
565 *pupperDist = *pupper;
566 *plower = *pupper + incr;
568 if (plastiter != NULL)
569 *plastiter = (tid == 0 && team_id == trip_count - 1);
574 UT chunkD = trip_count / nteams;
575 UT extras = trip_count % nteams;
577 incr * (team_id * chunkD + (team_id < extras ? team_id : extras));
578 *pupperDist = *plower + chunkD * incr - (team_id < extras ? 0 : incr);
579 if (plastiter != NULL)
580 *plastiter = (team_id == nteams - 1);
583 (trip_count / nteams + ((trip_count % nteams) ? 1 : 0)) * incr;
587 *plower += team_id * chunk_inc_count;
588 *pupperDist = *plower + chunk_inc_count - incr;
591 if (*pupperDist < *plower)
592 *pupperDist = traits_t<T>::max_value;
593 if (plastiter != NULL)
594 *plastiter = *plower <= upper && *pupperDist > upper - incr;
595 if (*pupperDist > upper)
597 if (*plower > *pupperDist) {
598 *pupper = *pupperDist;
602 if (*pupperDist > *plower)
603 *pupperDist = traits_t<T>::min_value;
604 if (plastiter != NULL)
605 *plastiter = *plower >= upper && *pupperDist < upper - incr;
606 if (*pupperDist < upper)
608 if (*plower < *pupperDist) {
609 *pupper = *pupperDist;
617 trip_count = *pupperDist - *plower + 1;
618 }
else if (incr == -1) {
619 trip_count = *plower - *pupperDist + 1;
620 }
else if (incr > 1) {
622 trip_count = (UT)(*pupperDist - *plower) / incr + 1;
625 trip_count = (UT)(*plower - *pupperDist) / (-incr) + 1;
630 if (trip_count <= nth) {
635 if (tid < trip_count)
636 *pupper = *plower = *plower + tid * incr;
638 *plower = *pupper + incr;
639 if (plastiter != NULL)
640 if (*plastiter != 0 && !(tid == trip_count - 1))
645 UT chunkL = trip_count / nth;
646 UT extras = trip_count % nth;
647 *plower += incr * (tid * chunkL + (tid < extras ? tid : extras));
648 *pupper = *plower + chunkL * incr - (tid < extras ? 0 : incr);
649 if (plastiter != NULL)
650 if (*plastiter != 0 && !(tid == nth - 1))
654 (trip_count / nth + ((trip_count % nth) ? 1 : 0)) * incr;
655 T upper = *pupperDist;
658 *plower += tid * chunk_inc_count;
659 *pupper = *plower + chunk_inc_count - incr;
661 if (*pupper < *plower)
662 *pupper = traits_t<T>::max_value;
663 if (plastiter != NULL)
664 if (*plastiter != 0 &&
665 !(*plower <= upper && *pupper > upper - incr))
670 if (*pupper > *plower)
671 *pupper = traits_t<T>::min_value;
672 if (plastiter != NULL)
673 if (*plastiter != 0 &&
674 !(*plower >= upper && *pupper < upper - incr))
688 *pstride = span * nth;
689 *plower = *plower + (span * tid);
690 *pupper = *plower + span - incr;
691 if (plastiter != NULL) {
693 if (*plastiter != 0 && !(tid == ((trip_count - 1) / (UT)chunk) % nth))
700 "__kmpc_dist_for_static_init: unknown loop scheduling type");
710 "__kmpc_dist_for_static_init: last=%%d lo=%%%s up=%%%s upDist=%%%s "
711 "stride=%%%s signed?<%s>\n",
712 traits_t<T>::spec, traits_t<T>::spec, traits_t<T>::spec,
713 traits_t<ST>::spec, traits_t<T>::spec);
714 KD_TRACE(100, (buff, *plastiter, *plower, *pupper, *pupperDist, *pstride));
718 KE_TRACE(10, (
"__kmpc_dist_for_static_init: T#%d return\n", gtid));
719#if OMPT_SUPPORT && OMPT_OPTIONAL
725 ompt_work_distribute, ompt_scope_begin, &(team_info->
parallel_data),
729 ompt_data_t
instance = ompt_data_none;
730 ompt_dispatch_chunk_t dispatch_chunk;
731 OMPT_GET_DISPATCH_CHUNK(dispatch_chunk, *plower, *pupperDist, incr);
735 ompt_dispatch_distribute_chunk,
instance);
746 typename traits_t<T>::signed_t *p_st,
747 typename traits_t<T>::signed_t incr,
748 typename traits_t<T>::signed_t chunk) {
754 typedef typename traits_t<T>::unsigned_t UT;
755 typedef typename traits_t<T>::signed_t
ST;
766 KE_TRACE(10, (
"__kmp_team_static_init called (%d)\n", gtid));
773 "iter=(%%%s, %%%s, %%%s) chunk %%%s; signed?<%s>\n",
774 traits_t<T>::spec, traits_t<T>::spec,
775 traits_t<ST>::spec, traits_t<ST>::spec,
777 KD_TRACE(100, (buff, gtid, *p_last, *p_lb, *p_ub, *p_st, chunk));
789 if (incr > 0 ? (upper < lower) : (lower < upper)) {
803 team = th->th.th_team;
805 nteams = th->th.th_teams_size.nteams;
806 team_id = team->
t.t_master_tid;
811 trip_count = upper - lower + 1;
812 }
else if (incr == -1) {
813 trip_count = lower - upper + 1;
814 }
else if (incr > 0) {
816 trip_count = (UT)(upper - lower) / incr + 1;
819 trip_count = (UT)(lower - upper) / (-incr) + 1;
824 *p_st = span * nteams;
825 *p_lb = lower + (span * team_id);
826 *p_ub = *p_lb + span - incr;
827 if (p_last != NULL) {
829 *p_last = (team_id == ((trip_count - 1) / (UT)chunk) % nteams);
834 *p_ub = traits_t<T>::max_value;
839 *p_ub = traits_t<T>::min_value;
849 "iter=(%%%s, %%%s, %%%s) chunk %%%s\n",
850 traits_t<T>::spec, traits_t<T>::spec,
851 traits_t<ST>::spec, traits_t<ST>::spec);
852 KD_TRACE(100, (buff, gtid, team_id, *p_last, *p_lb, *p_ub, *p_st, chunk));
886 pupper, pstride, incr, chunk
887#
if OMPT_SUPPORT && OMPT_OPTIONAL
903 pupper, pstride, incr, chunk
904#
if OMPT_SUPPORT && OMPT_OPTIONAL
919 pupper, pstride, incr, chunk
920#
if OMPT_SUPPORT && OMPT_OPTIONAL
936 pupper, pstride, incr, chunk
937#
if OMPT_SUPPORT && OMPT_OPTIONAL
947#if OMPT_SUPPORT && OMPT_OPTIONAL
948#define OMPT_CODEPTR_ARG , OMPT_GET_RETURN_ADDRESS(0)
950#define OMPT_CODEPTR_ARG
981 pupper, pupperD, pstride, incr,
994 pupper, pupperD, pstride, incr,
1007 pupper, pupperD, pstride, incr,
1020 pupper, pupperD, pstride, incr,
@ KMP_IDENT_KMPC
Use c-style ident structure.
@ KMP_IDENT_WORK_LOOP
To mark a static loop in OMPT callbacks.
@ KMP_IDENT_WORK_SECTIONS
To mark a sections directive in OMPT callbacks.
@ KMP_IDENT_WORK_DISTRIBUTE
To mark a distribute construct in OMPT callbacks.
void __kmpc_for_static_init_8(ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, kmp_int32 *plastiter, kmp_int64 *plower, kmp_int64 *pupper, kmp_int64 *pstride, kmp_int64 incr, kmp_int64 chunk)
See __kmpc_for_static_init_4.
void __kmpc_dist_for_static_init_8(ident_t *loc, kmp_int32 gtid, kmp_int32 schedule, kmp_int32 *plastiter, kmp_int64 *plower, kmp_int64 *pupper, kmp_int64 *pupperD, kmp_int64 *pstride, kmp_int64 incr, kmp_int64 chunk)
See __kmpc_dist_for_static_init_4.
void __kmpc_for_static_init_4u(ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, kmp_int32 *plastiter, kmp_uint32 *plower, kmp_uint32 *pupper, kmp_int32 *pstride, kmp_int32 incr, kmp_int32 chunk)
See __kmpc_for_static_init_4.
void __kmpc_team_static_init_8(ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_int64 *p_lb, kmp_int64 *p_ub, kmp_int64 *p_st, kmp_int64 incr, kmp_int64 chunk)
See __kmpc_team_static_init_4.
void __kmpc_dist_for_static_init_4u(ident_t *loc, kmp_int32 gtid, kmp_int32 schedule, kmp_int32 *plastiter, kmp_uint32 *plower, kmp_uint32 *pupper, kmp_uint32 *pupperD, kmp_int32 *pstride, kmp_int32 incr, kmp_int32 chunk)
See __kmpc_dist_for_static_init_4.
void __kmpc_team_static_init_8u(ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_uint64 *p_lb, kmp_uint64 *p_ub, kmp_int64 *p_st, kmp_int64 incr, kmp_int64 chunk)
See __kmpc_team_static_init_4.
void __kmpc_for_static_init_8u(ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, kmp_int32 *plastiter, kmp_uint64 *plower, kmp_uint64 *pupper, kmp_int64 *pstride, kmp_int64 incr, kmp_int64 chunk)
See __kmpc_for_static_init_4.
void __kmpc_team_static_init_4u(ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_uint32 *p_lb, kmp_uint32 *p_ub, kmp_int32 *p_st, kmp_int32 incr, kmp_int32 chunk)
See __kmpc_team_static_init_4.
void __kmpc_dist_for_static_init_4(ident_t *loc, kmp_int32 gtid, kmp_int32 schedule, kmp_int32 *plastiter, kmp_int32 *plower, kmp_int32 *pupper, kmp_int32 *pupperD, kmp_int32 *pstride, kmp_int32 incr, kmp_int32 chunk)
void __kmpc_for_static_init_4(ident_t *loc, kmp_int32 gtid, kmp_int32 schedtype, kmp_int32 *plastiter, kmp_int32 *plower, kmp_int32 *pupper, kmp_int32 *pstride, kmp_int32 incr, kmp_int32 chunk)
void __kmpc_team_static_init_4(ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, kmp_int32 *p_lb, kmp_int32 *p_ub, kmp_int32 *p_st, kmp_int32 incr, kmp_int32 chunk)
void __kmpc_dist_for_static_init_8u(ident_t *loc, kmp_int32 gtid, kmp_int32 schedule, kmp_int32 *plastiter, kmp_uint64 *plower, kmp_uint64 *pupper, kmp_uint64 *pupperD, kmp_int64 *pstride, kmp_int64 incr, kmp_int64 chunk)
See __kmpc_dist_for_static_init_4.
@ kmp_sch_static
static unspecialized
@ kmp_distribute_static
distribute static unspecialized
@ kmp_sch_static_balanced
@ kmp_sch_static_balanced_chunked
@ kmp_ord_upper
upper bound for ordered values
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 end
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 * instance
static int __kmp_tid_from_gtid(int gtid)
enum sched_type __kmp_static
#define KMP_MASTER_TID(tid)
kmp_info_t ** __kmp_threads
#define SCHEDULE_WITHOUT_MODIFIERS(s)
union kmp_team kmp_team_t
#define KMP_MASTER_GTID(gtid)
int __kmp_env_consistency_check
static void __kmp_assert_valid_gtid(kmp_int32 gtid)
volatile int __kmp_init_serial
union KMP_ALIGN_CACHE kmp_info kmp_info_t
KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 kmp_int8
KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86 KMP_ARCH_X86<<, 2i, 1, KMP_ARCH_X86) ATOMIC_CMPXCHG(fixed2, shr, kmp_int16, 16, > KMP_ARCH_X86 KMP_ARCH_X86 kmp_uint32
#define KMP_DEBUG_ASSERT(cond)
#define KMP_ASSERT2(cond, msg)
unsigned long long kmp_uint64
void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident)
void __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident)
#define KMP_COMPARE_AND_STORE_ACQ8(p, cv, sv)
static void __kmp_dist_for_static_init(ident_t *loc, kmp_int32 gtid, kmp_int32 schedule, kmp_int32 *plastiter, T *plower, T *pupper, T *pupperDist, typename traits_t< T >::signed_t *pstride, typename traits_t< T >::signed_t incr, typename traits_t< T >::signed_t chunk)
static void __kmp_for_static_init(ident_t *loc, kmp_int32 global_tid, kmp_int32 schedtype, kmp_int32 *plastiter, T *plower, T *pupper, typename traits_t< T >::signed_t *pstride, typename traits_t< T >::signed_t incr, typename traits_t< T >::signed_t chunk)
static void __kmp_team_static_init(ident_t *loc, kmp_int32 gtid, kmp_int32 *p_last, T *p_lb, T *p_ub, typename traits_t< T >::signed_t *p_st, typename traits_t< T >::signed_t incr, typename traits_t< T >::signed_t chunk)
#define OMPT_LOOP_BEGIN(count)
#define KMP_STATS_LOOP_END(stat)
Functions for collecting statistics.
#define KMP_COUNT_VALUE(n, v)
#define KMP_PUSH_PARTITIONED_TIMER(name)
#define KMP_COUNT_BLOCK(n)
char * __kmp_str_format(char const *format,...)
void __kmp_str_free(char **str)
ompt_callbacks_active_t ompt_enabled
ompt_callbacks_internal_t ompt_callbacks
#define OMPT_GET_RETURN_ADDRESS(level)
ompt_team_info_t * __ompt_get_teaminfo(int depth, int *size)
ompt_task_info_t * __ompt_get_task_info_object(int depth)
ompt_data_t parallel_data