[Openmp-commits] [PATCH] D39613: Exclude untied tasks from checking of task scheduling constraint (TSC)

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 3 13:05:12 PDT 2017


AndreyChurbanov created this revision.

This is second attempt to exclude untied tasks from TSC, the first one was rejected because of kastors/trassen-task-dep benchmark hang.
This change works for the benchmark, because task stealing algorithm re-implemented so that the stealing of any task of the victim thread queue allowed, as opposed to only try to steal the head task.

Also added the check if the thief thread spins on a barrier - then any task allowed to be stolen.


Repository:
  rL LLVM

https://reviews.llvm.org/D39613

Files:
  runtime/src/kmp.h
  runtime/src/kmp_global.cpp
  runtime/src/kmp_tasking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39613.121527.patch
Type: text/x-patch
Size: 19950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171103/a7e9260d/attachment-0001.bin>


More information about the Openmp-commits mailing list