arrayfire / arrayfire/arrayfire-python
ParallelRange with Sliced Matrix
- Linguagem predominante
- Python
- Estrelas
- 422
- Forks
- 63
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- backend, hpc
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 38/100