Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions openmp/runtime/src/kmp_tasking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5491,7 +5491,8 @@ static kmp_tdg_info_t *__kmp_find_tdg(kmp_int32 tdg_id) {

// __kmp_print_tdg_dot: prints the TDG to a dot file
// tdg: ID of the TDG
void __kmp_print_tdg_dot(kmp_tdg_info_t *tdg) {
// gtid: Global Thread ID
void __kmp_print_tdg_dot(kmp_tdg_info_t *tdg, kmp_int32 gtid) {
kmp_int32 tdg_id = tdg->tdg_id;
KA_TRACE(10, ("__kmp_print_tdg_dot(enter): T#%d tdg_id=%d \n", gtid, tdg_id));

Expand Down Expand Up @@ -5693,7 +5694,7 @@ void __kmp_end_record(kmp_int32 gtid, kmp_tdg_info_t *tdg) {
KMP_ATOMIC_ST_RLX(&__kmp_tdg_task_id, 0);

if (__kmp_tdg_dot)
__kmp_print_tdg_dot(tdg);
__kmp_print_tdg_dot(tdg, gtid);
}

// __kmpc_end_record_task: wrapper around __kmp_end_record to mark
Expand Down
Loading