# get indices to iterate over, in the required order
n = SVSHAPE.lims[0]
mode = SVSHAPE.lims[1]
- stride = SVSHAPE.lims[2] + 1
+ stride = SVSHAPE.lims[2]
print ("inner halfswap loadstore", n, mode, SVSHAPE.skip,
"submode", SVSHAPE.submode2, "stride", stride)
# get indices to iterate over, in the required order
n = SVSHAPE.lims[0]
mode = SVSHAPE.lims[1]
- stride = SVSHAPE.lims[2] + 1
+ stride = SVSHAPE.lims[2]
print ("inner costable", mode, "stride", stride)
# creating lists of indices to iterate over in each dimension
# has to be done dynamically, because it depends on the size
# get indices to iterate over, in the required order
n = SVSHAPE.lims[0]
mode = SVSHAPE.lims[1]
- stride = SVSHAPE.lims[2] + 1
+ stride = SVSHAPE.lims[2]
print ("inner butterfly", mode, SVSHAPE.skip,
"submode", SVSHAPE.submode2, "stride", stride)
# creating lists of indices to iterate over in each dimension
# get indices to iterate over, in the required order
n = SVSHAPE.lims[0]
mode = SVSHAPE.lims[1]
- stride = SVSHAPE.lims[2] + 1
+ stride = SVSHAPE.lims[2]
# creating lists of indices to iterate over in each dimension
# has to be done dynamically, because it depends on the size
# first, the size-based loop (which can be done statically)
n = 8
xdim = n
ydim = 0 # not needed
- zdim = 0 # again, not needed
+ zdim = 1 # must be set at least to 1
################
def iterate_butterfly_indices(SVSHAPE):
# get indices to iterate over, in the required order
n = SVSHAPE.lims[0]
- stride = SVSHAPE.lims[2] + 1 # stride-multiplier on reg access
+ stride = SVSHAPE.lims[2] # stride-multiplier on reg access
+ print ("iterate fft butterfly", n, "stride", stride)
# creating lists of indices to iterate over in each dimension
# has to be done dynamically, because it depends on the size
# first, the size-based loop (which can be done statically)
# set the dimension sizes here
xdim = 8
ydim = 0 # not needed
- zdim = 0 # again, not needed
+ zdim = 1 # stride must be set to 1
# set total. err don't know how to calculate how many there are...
# do it manually for now