Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 20, 2022
1 parent eca655d commit bce9912
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taichi/runtime/dx12/aot_module_loader_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class AotModuleImpl : public aot::Module {
// read_from_binary_file(graphs_, graph_path);
}

std::unique_ptr<aot::CompiledGraph> get_graph(const std::string &name) override {
std::unique_ptr<aot::CompiledGraph> get_graph(
const std::string &name) override {
TI_ERROR_IF(graphs_.count(name) == 0, "Cannot find graph {}", name);
std::vector<aot::CompiledDispatch> dispatches;
for (auto &dispatch : graphs_[name].dispatches) {
Expand Down

0 comments on commit bce9912

Please sign in to comment.