Skip to content

Commit c83e803

Browse files
committed
Phase-3: remove len<=1 guard in promotedReferenceReset
Allows the absolute offset to fire for single-tile transfers too. Does not fix CCT_2 activation promotion (32KB activations have 1 L2->L1 tile with offset=0, the spatial slicing was handled by the now-absent L3 closure).
1 parent 85b79ac commit c83e803

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Deeploy/TilingExtension/CodeTransformationPasses/TilingCodeGeneration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ def _generatePromotedReferenceReset(self, ctxt: NetworkContext, tensorName: str,
160160
body top (which resets every call). Covers both the read side
161161
(L2→L1 for promoted constants) and the write side (L1→L2 for
162162
promoted activations)."""
163-
if len(transfers) <= 1:
164-
return None
165163
from Deeploy.DeeployTypes import TransientBuffer
166164
try:
167165
unraveled = ctxt.unravelReference(externalBuffer)

0 commit comments

Comments
 (0)