[Snippets][CPU] Introduce EliminateInplaceOps pass#33963
[Snippets][CPU] Introduce EliminateInplaceOps pass#33963aobolensk wants to merge 2 commits intoopenvinotoolkit:masterfrom
Conversation
v-Golubev
left a comment
There was a problem hiding this comment.
Actually, such Fill ops shouldn't be inserted at all. Previously, we had to have them in the graph for all loop iterations, because InsertSpecificIterations was applied after AssignRegisters. Now, we can change this behavior, and insert Fill op only for last loop iteration. To do that, we should replace an existing SetFillOffset with a new InsertFill handler
I have tried to implement it but faced with a problem that on the insertion point I actually just don't know whether The point is that it should be performed contextually. For example, in softmax, there is need in |
Details:
jit_fill_emitternot responcible for inplace operationsEliminateInplaceOpspass as a part of snippets pass pipeline that removes all inplace operations so they don't reach code emission stageTickets: