| 83 | } |
| 84 | |
| 85 | std::optional<std::filesystem::path> optional_path_arg(int argc, char ** argv, const std::string & name) { |
| 86 | if (const auto value = find_arg(argc, argv, name)) { |
| 87 | return std::filesystem::path(*value); |
| 88 | } |
| 89 | return std::nullopt; |
| 90 | } |
| 91 | |
| 92 | engine::core::BackendType parse_backend(const std::string & value) { |
| 93 | if (value == "cpu") { |
no test coverage detected