xla icon indicating copy to clipboard operation
xla copied to clipboard

[fusion] Add pattern constraint for dynamic slice fusion

Open shraiysh opened this issue 1 year ago • 9 comments

This patch constraints the dynamic-slice-fusion to only be triggered when the offset is either a constant or loop iteration offset that can guarentee that no D2H copy is required.

shraiysh avatar Jul 05 '24 00:07 shraiysh