JuliaSIMD / JuliaSIMD/LoopVectorization.jl
Handing of `end` in indexing
オープン
- 主要言語
- Julia
- スター
- 789
- フォーク
- 73
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by running the Julia reproducer using the @avx loop shown in the issue, then trace how the macro handles indexed expressions containing end and begin. Done means the example expands and runs without UndefVarError while preserving the intended indexing behavior for both forms.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia
- 領域
- compilers, performance
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100