JuliaSIMD / JuliaSIMD/LoopVectorization.jl
Unrecognized loop range type: list of integers (new feature)
- 主要言語
- Julia
- スター
- 789
- フォーク
- 73
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start at the @turbo loop handling, using the direct list-of-integers example and the eachindex workaround as behavioral references. Done means the direct list-of-integers form is accepted with equivalent loop behavior, with coverage demonstrating that case.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia
- 領域
- performance
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100