[PATCH] D104516: [mlir] Add a ThreadPool to MLIRContext and refactor MLIR threading usage

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 21:50:55 PDT 2021


lattner added a comment.

I mentioned this in the other phab thread: while I'm totally ok with this patch as a way to unblock progress, it really isn't the right thing.  It doesn't make sense for MLIR to have its own threadpool tied to its context's.  CPU resources aren't library specific, they are global.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104516/new/

https://reviews.llvm.org/D104516



More information about the llvm-commits mailing list