fixed pointer-shifting for cases where vectors are transposed and therefore not shifted
@@ -1623,6 +1623,7 @@ class KernelWriter:
####################################
# Shift: d0 vector components
if kernel["EdgeType"] == "Shift" and kernel["VectorWidth"] > 1:
+ if readTileDimVectorA:
kStr += self.endLine
kStr += " /* shift d%s vector components */%s" \
% (tileChar0, self.endLine)
@@ -1651,6 +1652,7 @@ class KernelWriter:
####################################
# Shift: d1 vector
+ if readTileDimVectorB:
kStr += self.endLine
kStr += " /* shift d%s vectors */%s" \
% (tileChar1, self.endLine)
