1 | #pragma once |
---|---|
2 | |
3 | #include <string> |
4 | |
5 | #include "taichi/rhi/arch.h" |
6 | |
7 | namespace taichi::lang { |
8 | |
9 | struct CompileConfig; |
10 | class Program; |
11 | class IRNode; |
12 | class SNode; |
13 | class Kernel; |
14 | |
15 | std::string get_hashed_offline_cache_key_of_snode(const SNode *snode); |
16 | std::string get_hashed_offline_cache_key(const CompileConfig &config, |
17 | Kernel *kernel); |
18 | void gen_offline_cache_key(IRNode *ast, std::ostream *os); |
19 | |
20 | } // namespace taichi::lang |
21 |