[Mlir-commits] [mlir] [MLIR][SCFToOpenMP] Add automatic-num-threads option (PR #85771)
Pablo Antonio Martinez
llvmlistbot at llvm.org
Tue Mar 26 08:06:18 PDT 2024
pabloantoniom wrote:
> Thanks for this patch.
>
> > This commit adds an option to automatically infer the optimal number of threads from the scf loop.
>
> What is the background of the particular algorithm used in this patch? Wouldn't this also lead to too many threads?
Indeed. This algorithm was adapted from another context, but now I have realised that for the this particular pass it makes no sense to use this algorithm. Thank you for noticing this, I'll have a think about how this can be reinterpreted to be useful for this pass. Closing the PR for now.
https://github.com/llvm/llvm-project/pull/85771
More information about the Mlir-commits
mailing list