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
functioncol!(out, A)
@avxfor i in1:3
out[i, end] =10* A[i]
out[i, begin] =100* A[i]
end
out
endcol!(rand(3,3), collect(1:3)) # UndefVarError: end not defined
The text was updated successfully, but these errors were encountered:
Trying to decide the best way to handle this.
LoopVectorization's parsing currently doesn't keep track of the index with respect to the parent array, but with respect to the stridedpointer while it parses.
The problem with that is that it'll drop dimensions from the pointer by taking views, so that to be correct with multiple constant indices, e.g. A[i,begin,end], it'll have to start tracking both.
That's probably the best option.
From mcabbott/Tullio.jl#97, this gives an error:
The text was updated successfully, but these errors were encountered: