JuliaSIMD / JuliaSIMD/LoopVectorization.jl
Unrecognized loop range type: list of integers (new feature)
Open
- Dominant language
- Julia
- Stars
- 789
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to use ```@turbo``` to loop over a list of integers. Naive implementations such as
```julia
@turbo for i in [1,10,15]
# do something
end
```
do not seem to work. However, simple workarounds like
```julia
ind = [1,10,15];
@turbo for j in eachindex(ind)
i = ind[j]
# do something
end
```
work fine. Is there any chance that similar cases will be handled as in the first example (i.e., naive implementation) in future releases?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.