[Openmp-commits] [openmp] [OpenMP] Introduce KMP_TASK_STEALING to allow disabling task stealing. (PR #76891)

Terry Wilmarth via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 4 14:03:52 PST 2024


TerryLWilmarth wrote:

> If that is the case, I'd revisit the choice of using OpenMP tasks since the workload is already perfectly balanced. Besides, task stealing only happens at certain points, aka. task scheduling points. Most of the time it happens when the thread already finishes its parallel region and waiting at the end of the implicit barrier.

I agree.  Threads steal tasks when they don't have any work of their own to do and would otherwise be idle.

https://github.com/llvm/llvm-project/pull/76891


More information about the Openmp-commits mailing list