You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update on "[ET-VK] Using a single GPU buffer for all tensor uniforms."
This diff changes Tensor class to store all uniforms in a single uniform buffer.
Entities stored in uniforms ie. size, stride, numel and logical limits are now stored in a single buffer and their offsets are stored as unsigned ints in Tensor class.
Other changes includes:
Adding a new ctor for ParamsBuffer class to allow allocation with size without data ptr.
Adding an offset input to Buffer::data function.
Adding an offset parameter to BufferBindInfo ctor, so additional offset can be supplied when binding a buffer.
Differential Revision: [D65841750](https://our.internmc.facebook.com/intern/diff/D65841750/)
[ghstack-poisoned]
0 commit comments