Querying threads directly from the thread pool fails if there is no thread pool or if multithreading is not enabled. Returns 1 by default.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D116259
[mlir] Add getNumThreads to MLIRContext ClosedPublic Authored by Mogball on Dec 23 2021, 5:41 PM.
Details Summary Querying threads directly from the thread pool fails if there is no thread pool or if multithreading is not enabled. Returns 1 by default.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 23 2021, 5:43 PM This revision was landed with ongoing or failed builds.Dec 23 2021, 6:03 PM Closed by commit rG41a64338cc84: [mlir] Add getNumThreads to MLIRContext (authored by Mogball). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 396124 mlir/include/mlir/IR/MLIRContext.h
mlir/lib/IR/MLIRContext.cpp
mlir/lib/Transforms/Inliner.cpp
mlir/test/Transforms/inlining.mlir
|
(see the method below)