[PATCH] D36607: [Support/Parallel] - Do not spawn thread for single/last task.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 08:14:51 PDT 2017


ruiu added a comment.

It is broken. The taskgroup should not spawn more threads than the number of physical cores however it is used. It is intended to be a thread-pool, and spawning threads per task is nonsense.


https://reviews.llvm.org/D36607





More information about the llvm-commits mailing list