1 | #pragma once |
---|---|
2 | |
3 | #include <string> |
4 | |
5 | namespace taichi::lang { |
6 | |
7 | enum class SNodeType { |
8 | #define PER_SNODE(x) x, |
9 | #include "taichi/inc/snodes.inc.h" |
10 | #undef PER_SNODE |
11 | }; |
12 | |
13 | std::string snode_type_name(SNodeType t); |
14 | |
15 | bool is_gc_able(SNodeType t); |
16 | |
17 | } // namespace taichi::lang |
18 |