JuliaSIMD / JuliaSIMD/LoopVectorization.jl

Handing of `end` in indexing

Open
#246 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
789
Forks
73
PR merge metrics
No merged PRs in 30d

Description

From https://github.com/mcabbott/Tullio.jl/issues/97, this gives an error:
```julia
function col!(out, A)
@avx for i in 1:3
out[i, end] = 10 * A[i]
out[i, begin] = 100 * A[i]
end
out
end
col!(rand(3,3), collect(1:3)) # UndefVarError: end not defined
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.