[all-commits] [llvm/llvm-project] ada4ad: [OpenMP] Fix taskgraph dependency tracking, memory...

Josep Pinot via All-commits all-commits at lists.llvm.org
Fri Apr 25 01:17:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ada4ad9d1f5580476918d490cb51382714cb2973
      https://github.com/llvm/llvm-project/commit/ada4ad9d1f5580476918d490cb51382714cb2973
  Author: Josep Pinot <jsp.pinot at gmail.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M openmp/runtime/src/kmp_taskdeps.cpp
    M openmp/runtime/src/kmp_tasking.cpp
    A openmp/runtime/test/tasking/omp_record_replay_deps_multi_succ.cpp

  Log Message:
  -----------
  [OpenMP] Fix taskgraph dependency tracking, memory access, and initialization (#136837)

This commit resolves multiple issues in the OpenMP taskgraph implementation:
- Fix a potential use of uninitialized is_taskgraph and tdg fields when a task is created outside of a taskgraph construct.
- Fix use of task ID field when accessing the taskgraph’s record_map.
- Fix resizing and copying of the successors array when its capacity is exceeded.

Fixes memory management flaws, invalid memory accesses, and uninitialized data risks in taskgraph operations.



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