Skip to content

Commit 567fc96

Browse files
committed
Update base for Update on "[ET-VK][ez] Updates to DynamicDispatchNode"
## Changes * Pass in global work group size to the local work group size determination function in `DynamicDIspatchNode` ## Motivation Oftentimes it is useful to know what the global work group size is when determining what the local group group size should be. ## Performance Impact None. Differential Revision: [D75686047](https://our.internmc.facebook.com/intern/diff/D75686047/) [ghstack-poisoned]
1 parent 85726c4 commit 567fc96

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

backends/vulkan/runtime/VulkanBackend.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ class VulkanBackend final : public ::executorch::runtime::BackendInterface {
569569

570570
if (should_propagate_resize) {
571571
compute_graph->propagate_resize();
572-
compute_graph->encode_execute();
573572
}
574573
compute_graph->execute();
575574

backends/vulkan/runtime/graph/ComputeGraph.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ void ComputeGraph::propagate_resize() {
696696
for (std::unique_ptr<ExecuteNode>& node : execute_nodes_) {
697697
node->trigger_resize(this);
698698
}
699+
encode_execute();
699700
}
700701

701702
} // namespace vkcompute

0 commit comments

Comments
 (0)