JuliaSIMD / JuliaSIMD/LoopVectorization.jl
Support for 'triangular' loops
- 主要言語
- Julia
- スター
- 789
- フォーク
- 73
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Suppose I have a function
```julia
function pairwise(a)
ret = Matrix{eltype(a)}(undef, length(a), length(a))
for i in 1:(length(a)-1)
for j in (i+1):length(a)
ret[i, j] = a[i] * a[j]
end
end
UpperTriangular(ret)
end
```
Is there a way to represent this loop over the 'upper triangular indices' of `ret` with LoopVectorization.jl?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reading LoopVectorization.jl’s existing loop syntax and trying the provided pairwise example with its upper-triangular indices. Determine whether triangular-loop representation is supported and define completion as making this example expressible and vectorizable, with coverage for the resulting upper-triangular iteration.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia
- 領域
- performance
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100