1 | #pragma once |
---|---|
2 | |
3 | #include "taichi/common/core.h" |
4 | |
5 | #include <string> |
6 | |
7 | namespace taichi::lang { |
8 | |
9 | enum class OffloadedTaskType : int { |
10 | #define PER_TASK_TYPE(x) x, |
11 | #include "taichi/inc/offloaded_task_type.inc.h" |
12 | #undef PER_TASK_TYPE |
13 | }; |
14 | |
15 | std::string offloaded_task_type_name(OffloadedTaskType tt); |
16 | |
17 | } // namespace taichi::lang |
18 |