1 | #pragma once |
---|---|
2 | |
3 | #include "taichi/aot/module_loader.h" |
4 | |
5 | namespace taichi::lang { |
6 | |
7 | class LlvmRuntimeExecutor; |
8 | |
9 | namespace cpu { |
10 | |
11 | struct TI_DLL_EXPORT AotModuleParams { |
12 | std::string module_path; |
13 | LlvmRuntimeExecutor *executor_{nullptr}; |
14 | }; |
15 | |
16 | TI_DLL_EXPORT std::unique_ptr<aot::Module> make_aot_module(std::any mod_params); |
17 | |
18 | } // namespace cpu |
19 | } // namespace taichi::lang |
20 |