Skip to content

Commit

Permalink
rm snode_tree api
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ye committed Oct 4, 2021
1 parent 7bb2304 commit c5d7f44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions taichi/backends/metal/kernel_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1176,10 +1176,6 @@ class KernelManager::Impl {
TI_ERROR("Metal not supported on the current OS");
}

void add_compiled_snode_tree(const CompiledStructs &) {
TI_ERROR("Metal not supported on the current OS");
}

void register_taichi_kernel(const std::string &taichi_kernel_name,
const std::string &mtl_kernel_source_code,
const TaichiKernelAttributes &ti_kernel_attribs,
Expand Down Expand Up @@ -1221,7 +1217,6 @@ KernelManager::~KernelManager() {
}

void KernelManager::add_compiled_snode_tree(const CompiledStructs &snode_tree) {
impl_->add_compiled_snode_tree(snode_tree);
}

void KernelManager::register_taichi_kernel(
Expand Down
1 change: 0 additions & 1 deletion taichi/backends/metal/metal_program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ void MetalProgramImpl::materialize_snode_tree(
metal_kernel_mgr_ =
std::make_unique<metal::KernelManager>(std::move(params_));
}
metal_kernel_mgr_->add_compiled_snode_tree(metal_compiled_structs_.value());
}

std::unique_ptr<AotModuleBuilder> MetalProgramImpl::make_aot_module_builder() {
Expand Down

0 comments on commit c5d7f44

Please sign in to comment.