Please clarify KMP_TASK_STEALING_CONSTRAINT (original) (raw)

January 3, 2024, 11:32pm 1

Only found very limited info. By reading the source code, it seems related to Task Scheduling Constraints but is unclear which one or a few constraints are not satisfied when the value is set 0. Clarification appreciated.

At first glance, it looks like it’s a misnomer – should have been called KMP_TASK_SCHEDULING_CONSTRAINT. I need to dig a bit further to figure out more about what its actually doing, and I will get back to you. Pretty sure it’s not related to task stealing.

Looking at Andrey’s comments on the checkin, I really think he meant to call it KMP_TASK_SCHEDULING_CONSTRAINT. The TSCs are a separate concept from stealing, and this setting does not limit stealing – unless there is a TSC issue.

Is @AndreyChurbanov still active on this forum?