Skip to content

Commit 7e9445b

Browse files
ssjiaSS-JIA
authored andcommitted
[ET-VK] Modernize argmax and argmin
Modernize argmax and argmin to support ANY_STORAGE via the add_reduce_per_row_node dispatch path. Buffer shader uses BufferMetadata with indexing.glslh. Custom workgroup sizing retained for cooperative row-reduction algorithm with shared memory. Pull Request resolved: #18058 ghstack-source-id: 353546687 @exported-using-ghexport Differential Revision: [D95970165](https://our.internmc.facebook.com/intern/diff/D95970165/)
1 parent 5d5d14a commit 7e9445b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/vulkan/op_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def register_reduce_cpp_ops():
705705
)
706706
def register_argreduce_cpp_ops():
707707
return OpFeatures(
708-
inputs_storage=utils.ANY_TEXTURE,
708+
inputs_storage=utils.ANY_STORAGE,
709709
inputs_dtypes=utils.FP_T,
710710
outputs_dtypes=utils.INT_T,
711711
supports_resize=True,

0 commit comments

Comments
 (0)