iree icon indicating copy to clipboard operation
iree copied to clipboard

[Codegen][GPU] Add pass to reuse shared memory buffers in simple cases

Open Max191 opened this issue 7 months ago • 1 comments

This PR adds a new pass that tries to reuse shared memory allocations in functions. This pass only does a very basic analysis, assuming no control flow operations (and is conservative with structured control flow), but it is useful for some of the cases that show up in practice with the current pipelines.

Max191 avatar Jul 11 '24 16:07 Max191