Revert https://reviews.llvm.org/D92368
Can't reproduce the failures anymore. The original problem was the LLVM thread pool library was unloaded before the async runtime, but seems to be working now.
Paths
| Differential D93905
[mlir] AsyncRuntime: use LLVM ThreadPool to run async tasks AbandonedPublic Authored by ezhulenev on Dec 29 2020, 10:20 AM.
Details
Summary Revert https://reviews.llvm.org/D92368 Can't reproduce the failures anymore. The original problem was the LLVM thread pool library was unloaded before the async runtime, but seems to be working now.
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 14 others. · View Herald TranscriptDec 29 2020, 10:20 AM Comment Actions I'd still like to see the global ctor/dtor removed, this is incredibly fragile and known to cause issues. The solution of having a well-known interface to initialize/deinitialize mlir-cpu-runner plugins seems more robust (and portable) to me. This revision is now accepted and ready to land.Jan 4 2021, 9:43 AM Comment Actions Judging by the build failures this still does not work. Will work on a "mlir-cpu-runner dylib unloading" in a separate PR.
Revision Contents
Diff 313980 mlir/lib/ExecutionEngine/AsyncRuntime.cpp
|