You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which is not allowed (each copy must have its own connection). But why are these 2 copies above not merged in the preceding iree-amdaie-dma-composition pass ? Indeed they should can be combined to
but they are not because the maximum number of dimensions reported here for the target side is 3. Which means they cannot be combined, because the number of target dimensions after merging is 4 (see above, created by relaxing the maximum number of allowed dimensions).
This copy/connection is going from L2 to L1 -- are there really only 3 available dma channels in L1? I'm a bit confused about this, specifically about the availability of the 'inter' dimensions. It seems like there is 1 'inter' dim at all levels of the hierarchy (see here) but it is not usable in all situations (see here).
Ideally I would be able to use one more channel for this use case. It does seem to work (gives numerically correct result).
Alternative to increasing number of channels available:
If we can only use 3 dims, I'm fairly confident that the dma copies from L3 -> L2 -> L1 are using more permutations than needed, and the packing can be 'linearized' which would mean we don't need as many dma dimensions.
The text was updated successfully, but these errors were encountered:
Can we use another dma dimension in L1:
The issue (symptom) is that before
lower-to-aie
, there is a connection used by 2 copieswhich is not allowed (each copy must have its own connection). But why are these 2 copies above not merged in the preceding
iree-amdaie-dma-composition
pass ? Indeed they should can be combined tobut they are not because the maximum number of dimensions reported here for the target side is 3. Which means they cannot be combined, because the number of target dimensions after merging is 4 (see above, created by relaxing the maximum number of allowed dimensions).
This copy/connection is going from L2 to L1 -- are there really only 3 available dma channels in L1? I'm a bit confused about this, specifically about the availability of the 'inter' dimensions. It seems like there is 1 'inter' dim at all levels of the hierarchy (see here) but it is not usable in all situations (see here).
Ideally I would be able to use one more channel for this use case. It does seem to work (gives numerically correct result).
Alternative to increasing number of channels available:
If we can only use 3 dims, I'm fairly confident that the dma copies from L3 -> L2 -> L1 are using more permutations than needed, and the packing can be 'linearized' which would mean we don't need as many dma dimensions.
The text was updated successfully, but these errors were encountered: