[ET-VK] Add PushConstantDataInfo and vector to hold push constants data in DispatchNode.
Pull Request resolved: https://github.com/pytorch/executorch/pull/7223 This diff adds a new class called `PushConstantDataInfo` to the `DispatchNode` class in the Vulkan backend for Executorch. This class represents a push constant data entry, which can either be a shared pointer to a tensor's uniform data with an attribute or data with a maximum size of 16 bytes. The `write` method is also added to this class, which writes the data to a destination buffer. ghstack-source-id: 257899587 @exported-using-ghexport Differential Revision: [D66796049](https://our.internmc.facebook.com/intern/diff/D66796049/) Co-authored-by: Vivek Trivedi <5340687+trivedivivek@users.noreply.github.com>
P
pytorchbot committed
10bd491a054dc9417f08e929907dbf6d2ffc910f
Parent: 6158674
Committed by GitHub <noreply@github.com>
on 12/16/2024, 10:21:02 PM