Skip to content
Commit fbcce337 authored by Shilei Tian's avatar Shilei Tian
Browse files

[OpenMP] Honor `thread_limit` value when choosing grid size

D152014 introduced an optimization that favors more smaller blocks over
fewer larger blocks, even if user sets `thread_limit` explicitly. This patch changes
the behavior to honor user value.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D158802
parent 35c9072c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment