commit | 492553176953a83c17da74eabf0d44dec550f1cd | [log] [tgz] |
---|---|---|
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | Wed Jul 24 12:25:21 2024 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jul 24 10:30:56 2024 -0700 |
tree | cbcf128587dff53b084ba6874c77e4e1e8cf2b69 | |
parent | b7c1a0ef3b87c98268e5ab3bf89b6be39aff362d [diff] |
[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 GitOrigin-RevId: 2e57e6366677390110f5382894c8afeba8da7419