JuliaSIMD / JuliaSIMD/LoopVectorization.jl
LoadError on simple example
- Ngôn ngữ chính
- Julia
- Star
- 789
- Fork
- 73
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I'm struggling to understand why this function won't load:
```
using LoopVectorization
function f(X::Matrix{Float64})
retval = [1]
@turbo for i ∈ eachindex(X)
retval[1] += X[i]
end
end
```
When I try to execute this code in Julia 1.6.2--not execute the f() function--I get:
```
ERROR: LoadError: LoadError: KeyError: key Symbol("###RHS###5###") not found
Stacktrace:
[1] getindex
@ .\dict.jl:482 [inlined]
[2] add_reduction!(ls::LoopVectorization.LoopSet, var::Symbol, reduceddeps::Vector{Symbol}, deps::Vector{Symbol}, vparents::Vector{LoopVectorization.Operation}, reduction_ind::Int64, elementbytes::Int64, instr::LoopVectorization.Instruction)
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.