arrayfire / arrayfire/arrayfire-python

ParallelRange with Sliced Matrix

未關閉
#162 7 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。