Skip to content

Commit 1164fe4

Browse files
authored
[ET-VK][ez] Fix erroneous cherry-pick bot merge (#13512)
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #13512 Summary: It seems #13474 was not merged correctly via the cherry pick bot. This PR manually syncs internal and fbcode.
1 parent 85e5b6e commit 1164fe4

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

backends/vulkan/runtime/graph/ComputeGraph.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -861,25 +861,6 @@ void ComputeGraph::prepare() {
861861
}
862862

863863
execute_threshold_node_count_ = count_threshold;
864-
865-
for (SharedObject& shared_object : shared_objects_) {
866-
shared_object.allocate(this);
867-
shared_object.bind_users(this);
868-
}
869-
}
870-
871-
void ComputeGraph::prepare_pipelines() {
872-
for (std::unique_ptr<PrepackNode>& node : prepack_nodes_) {
873-
node->prepare_pipelines(this);
874-
}
875-
for (std::unique_ptr<ExecuteNode>& node : execute_nodes_) {
876-
node->prepare_pipelines(this);
877-
}
878-
context_->pipeline_cache().create_pipelines(pipeline_descriptors_);
879-
880-
pipeline_descriptors_ = std::unordered_set<
881-
vkapi::ComputePipelineCache::Key,
882-
vkapi::ComputePipelineCache::Hasher>();
883864
}
884865

885866
void ComputeGraph::prepare_pipelines() {

0 commit comments

Comments
 (0)