Lines Matching refs:gtid
27 int gtid, ompt_data_t *ompt_pid, void *codeptr);
71 inline void *__ompt_load_return_address(int gtid) { in __ompt_load_return_address() argument
72 kmp_info_t *thr = __kmp_threads[gtid]; in __ompt_load_return_address()
83 #define OMPT_STORE_RETURN_ADDRESS(gtid) \ argument
84 OmptReturnAddressGuard ReturnAddressGuard{gtid, __builtin_return_address(0)};
85 #define OMPT_LOAD_RETURN_ADDRESS(gtid) __ompt_load_return_address(gtid) argument
86 #define OMPT_LOAD_OR_GET_RETURN_ADDRESS(gtid) \ argument
87 ((ompt_enabled.enabled && gtid >= 0 && __kmp_threads[gtid] && \
88 __kmp_threads[gtid]->th.ompt_thread_info.return_address)? \
89 __ompt_load_return_address(gtid): \
96 inline kmp_info_t *ompt_get_thread_gtid(int gtid) { in ompt_get_thread_gtid() argument
97 return (gtid >= 0) ? __kmp_thread_from_gtid(gtid) : NULL; in ompt_get_thread_gtid()
101 int gtid = __kmp_get_gtid(); in ompt_get_thread() local
102 return ompt_get_thread_gtid(gtid); in ompt_get_thread()
136 #define OMPT_REDUCTION_DECL(this_thr, gtid) \ argument
139 void *return_address = OMPT_LOAD_RETURN_ADDRESS(gtid);
153 #define OMPT_REDUCTION_DECL(this_thr, gtid) argument