Skip to content

Commit 2029ef0

Browse files
committed
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]
2 parents b0c9448 + 2ee6752 commit 2029ef0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

backends/vulkan/runtime/graph/ops/DispatchNode.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ void DispatchNode::encode(ComputeGraph* graph) {
7575
}
7676

7777
void DispatchNode::write_push_constant_data() {
78-
if (push_constants_.empty()) {
79-
return;
80-
}
81-
8278
push_constants_offset_ = 0;
8379
for (const auto& push_constant : push_constants_) {
8480
push_constants_offset_ += push_constant.write(

0 commit comments

Comments
 (0)