[all-commits] [llvm/llvm-project] 2e57e6: [OpenMP][libomp] Fix tasking debug assert (#95823)
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Wed Jul 24 10:25:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e57e6366677390110f5382894c8afeba8da7419
https://github.com/llvm/llvm-project/commit/2e57e6366677390110f5382894c8afeba8da7419
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M openmp/runtime/src/kmp_tasking.cpp
A openmp/runtime/test/tasking/issue-94260-1.cpp
A openmp/runtime/test/tasking/issue-94260-2.c
Log Message:
-----------
[OpenMP][libomp] Fix tasking debug assert (#95823)
The debug assert is meant to check that the index is a valid which means
the runtime needs to check against the size of the array instead of the
number of threads. A free()-ed thread put back in the thread pool may
index into anywhere inside the task team's available array from 0 to
tt_max_threads potentially.
Fixes: #94260
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