Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[aot] [refactor] Add make_new_field for Metal #4559

Merged
merged 3 commits into from
Mar 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add back comment
qiao-bo committed Mar 17, 2022
commit 662b81125c8403aafba2c91e2aa7e58b9c44c4d9
1 change: 1 addition & 0 deletions taichi/backends/metal/aot_module_loader_impl.cpp
Original file line number Diff line number Diff line change
@@ -41,6 +41,7 @@ class AotModuleImpl : public aot::Module {
const std::string bin_path =
fmt::format("{}/metadata.tcb", params.module_path);
read_from_binary_file(aot_data_, bin_path);
// Do we still need to load each individual kernel?
for (const auto &k : aot_data_.kernels) {
kernels_[k.kernel_name] = &k;
}