Skip to content

ParallelRange with Sliced Matrix #162

@georgh

Description

@georgh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions