Skip to content

Commit

Permalink
Fixed nested parallelizm issue with mmultP. Fixed haskell-repa#13
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kuleshevich committed May 20, 2017
1 parent a32c3b1 commit 3fee016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repa-algorithms/Data/Array/Repa/Algorithms/Matrix.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mmultP arr brr
do trr <- transpose2P brr
let (Z :. h1 :. _) = extent arr
let (Z :. _ :. w2) = extent brr
computeP
trr `deepSeqArray` computeP
$ fromFunction (Z :. h1 :. w2)
$ \ix -> R.sumAllS
$ R.zipWith (*)
Expand Down

0 comments on commit 3fee016

Please sign in to comment.