arrayfire / arrayfire/arrayfire-python
ParallelRange with Sliced Matrix
- 主要言語
- Python
- スター
- 422
- フォーク
- 63
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
If you slice a matrix in the ParallelRange matmul does not detect the change in dimension and fails:
```
res = af.constant(0,20,20,1000 )
left = af.constant(0, 20, 40)
right = af.constant(0, 40,20, 1000)
af.matmul(left, right[:,:,0]) # this works
for ii in af.ParallelRange(10):
res[:,:,ii] = af.matmul(left, right[:,:,ii]) #will fail
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by running the provided ParallelRange reproducer with the sliced right[:,:,ii] input and compare it with the standalone matmul that succeeds. Trace the ParallelRange and matmul entry points to find where the slice dimensions are handled; done means the looped matmul completes without failure and produces the expected result shape.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend, hpc
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100