Skip to content

Commit

Permalink
Merge pull request #327 from fixstars/fix/bb_name_revise
Browse files Browse the repository at this point in the history
simplify bb name
  • Loading branch information
xinyuli1204 authored Oct 1, 2024
2 parents 8a42b0d + d3a8a4f commit df757a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,7 @@ void Builder::run() {
}

std::vector<std::string> Builder::bb_names(void) {
std::vector<std::string> names;
for (auto n : Halide::Internal::GeneratorRegistry::enumerate()) {
names.push_back(n);
}
return names;
return Halide::Internal::GeneratorRegistry::enumerate();
}

std::vector<ArgInfo> Builder::bb_arginfos(const std::string &name) {
Expand Down

0 comments on commit df757a4

Please sign in to comment.