The inputs, scratch and uniforms of H-PLOC batches built one after another
(GpuHplocBuilder.createScratchPool), allocated once at the largest
batch's size, so a capped load (maxBatchBytes) doesn't allocate and free
them per batch. One batch at a time may use it: record, submit and finish
a batch before creating the next. Free it with destroy after the last.
The inputs, scratch and uniforms of H-PLOC batches built one after another (GpuHplocBuilder.createScratchPool), allocated once at the largest batch's size, so a capped load (
maxBatchBytes) doesn't allocate and free them per batch. One batch at a time may use it: record, submit andfinisha batch before creating the next. Free it withdestroyafter the last.