File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/GraphBLAS-sharp.Backend/Common
tests/GraphBLAS-sharp.Tests/Common Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ module Merge =
5353 let beginIdx = beginIdxLocal
5454 let endIdx = endIdxLocal
5555 let firstLocalLength = endIdx - beginIdx
56+
5657 let mutable x = workGroupSize - firstLocalLength
5758
5859 if endIdx = firstSide then
@@ -68,7 +69,7 @@ module Merge =
6869 localIndices.[ lid] <- firstValues.[ beginIdx + lid]
6970
7071 if lid < secondLocalLength then
71- localIndices.[ firstLocalLength + lid] <- firstValues .[ gid - beginIdx]
72+ localIndices.[ firstLocalLength + lid] <- secondValues .[ gid - beginIdx]
7273
7374 barrierLocal ()
7475
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ let context = Context.defaultContext.ClContext
1010
1111let processor = Context.defaultContext.Queue
1212
13- let config =
14- { Utils.defaultConfig with
15- endSize = 10 }
13+ let config = { Utils.defaultConfig with endSize = 10000000 }
1614
1715let makeTest isEqual testFun ( leftArray : 'a []) ( rightArray : 'a []) =
1816 if leftArray.Length > 0 && rightArray.Length > 0 then
You can’t perform that action at this time.
0 commit comments