[all-commits] [llvm/llvm-project] af1e9c: [OpenMP] Fix missing gtid argument in __kmp_print_...

Josep Pinot via All-commits all-commits at lists.llvm.org
Thu Oct 17 07:01:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af1e9c81f4ab06ab46db87e273ec6eef5a24ef27
      https://github.com/llvm/llvm-project/commit/af1e9c81f4ab06ab46db87e273ec6eef5a24ef27
  Author: Josep Pinot <jsp.pinot at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M openmp/runtime/src/kmp_tasking.cpp

  Log Message:
  -----------
  [OpenMP] Fix missing gtid argument in __kmp_print_tdg_dot function (#111986)

This patch modifies the signature of the `__kmp_print_tdg_dot` function
in `kmp_tasking.cpp` to include the global thread ID (gtid) as an
argument. The gtid is now correctly passed to the function.

- Updated the function declaration to accept the gtid parameter.
- Modified all calls to `__kmp_print_tdg_dot` to pass the correct gtid
value.

This change addresses issues encountered when compiling with
`OMPX_TASKGRAPH` enabled. No functional changes are expected beyond
successful compilation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list