| 114 | /// =========================== |
| 115 | |
| 116 | auto to_string(TaskResourceLifetimeType lifetime_type) -> std::string_view |
| 117 | { |
| 118 | switch (lifetime_type) |
| 119 | { |
| 120 | case TaskResourceLifetimeType::TRANSIENT: return "TRANSIENT"; |
| 121 | case TaskResourceLifetimeType::PERSISTENT: return "PERSISTENT"; |
| 122 | case TaskResourceLifetimeType::PERSISTENT_DOUBLE_BUFFER: return "PERSISTENT_DOUBLE_BUFFER"; |
| 123 | case TaskResourceLifetimeType::EXTERNAL: return "EXTERNAL"; |
| 124 | default: return "UNKNOWN"; |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | auto to_string(TaskStages tstage) -> std::string |
| 129 | { |
no test coverage detected