Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ET-VK] Removing unnecessary and redundant members from StagingBuffer.
Pull Request resolved: pytorch#7220 This diff removes unnecessary and redundant members from the StagingBuffer class in the Vulkan runtime API. Specifically, the `numel_` and `nbytes_` members are removed, as they can be calculated from the `dtype_` member. This simplifies the class and reduces the amount of memory used. ghstack-source-id: 257227238 @exported-using-ghexport Differential Revision: [D66742613](https://our.internmc.facebook.com/intern/diff/D66742613/) Co-authored-by: Vivek Trivedi <[email protected]>
- Loading branch information