File tree Expand file tree Collapse file tree
src/GraphBLAS-sharp.Backend/Vector Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ open Brahma.FSharp
44open GraphBLAS.FSharp .Backend
55open GraphBLAS.FSharp .Backend .Common
66open Microsoft.FSharp .Quotations
7+ open GraphBLAS.FSharp .Backend .Predefined
78
89module DenseVector =
910 let elementWise < 'a , 'b , 'c when 'a : struct and 'b : struct and 'c : struct >
@@ -144,7 +145,7 @@ module DenseVector =
144145 let getPositions = getBitmap clContext workGroupSize
145146
146147 let prefixSum =
147- ClArray.prefixSumExcludeInplace clContext workGroupSize
148+ PrefixSum.standardExcludeInplace clContext workGroupSize
148149
149150 let resultLength = Array.zeroCreate 1
150151
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ open GraphBLAS.FSharp.Backend
55open GraphBLAS.FSharp .Backend .Common
66open Microsoft.FSharp .Control
77open Microsoft.FSharp .Quotations
8+ open GraphBLAS.FSharp .Backend .Predefined
89
910module SparseVector =
1011 let private merge < 'a , 'b when 'a : struct and 'b : struct > ( clContext : ClContext ) ( workGroupSize : int ) =
@@ -127,7 +128,7 @@ module SparseVector =
127128 let private setPositions < 'a when 'a : struct > ( clContext : ClContext ) ( workGroupSize : int ) =
128129
129130 let sum =
130- ClArray.prefixSumExcludeInplace clContext workGroupSize
131+ PrefixSum.standardExcludeInplace clContext workGroupSize
131132
132133 let valuesScatter =
133134 Scatter.runInplace clContext workGroupSize
You can’t perform that action at this time.
0 commit comments