Its number of optional parameters has grown too large,
which makes adding new optional parameters quite a chore.
Fix this by using an options struct.
Paths
| Differential D120380
[mlir][NFC] Use options struct in ExecutionEngine::create ClosedPublic Authored by cota on Feb 22 2022, 7:35 PM.
Details Summary Its number of optional parameters has grown too large, Fix this by using an options struct.
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 18 others. · View Herald TranscriptFeb 22 2022, 7:35 PM mehdi_amini added inline comments.
This revision is now accepted and ready to land.Feb 22 2022, 7:38 PM
Closed by commit rGa7db3c611b1e: [mlir][NFC] Use options struct in ExecutionEngine::create (authored by cota). · Explain WhyFeb 23 2022, 7:33 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 410823 mlir/examples/toy/Ch6/toyc.cpp
mlir/examples/toy/Ch7/toyc.cpp
mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
mlir/lib/CAPI/ExecutionEngine/ExecutionEngine.cpp
mlir/lib/ExecutionEngine/ExecutionEngine.cpp
mlir/lib/ExecutionEngine/JitRunner.cpp
|
Can you improve the comment to explain where will the cache be located?