streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Tee/teeWith seem to have a fusion issue

Open harendra-kumar opened this issue 3 years ago • 2 comments

We observed in the streamly-statistics package that some benchmarks with Tee take a lot of time and the fusion-plugin also takes a long time and large amount of memory to build those benchmarks. For this reason we have not been able to test whether they would fuse with fusion-plugin.

This needs to be investigated further.

harendra-kumar avatar Feb 07 '22 00:02 harendra-kumar

Looks like the issue occurs when there is a nesting of a Tee inside another Tee.

harendra-kumar avatar Feb 07 '22 09:02 harendra-kumar

For flat structure amenable to fusion we need Tee3, Tee4 etc. to distribute input to 3 or 4 folds respectively.

harendra-kumar avatar Jan 19 '24 14:01 harendra-kumar