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