File tree Expand file tree Collapse file tree
src/GraphBLAS-sharp.Backend Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,13 +49,11 @@ module BFS =
4949
5050 //Assigning new level values
5151 fillSubVectorTo queue levels front ( clContext.CreateClCell level) levels
52- |> ignore
5352
5453 //Getting new frontier
55- spMVTo queue matrix front front |> ignore
54+ spMVTo queue matrix front front
5655
5756 maskComplementedTo queue front levels front
58- |> ignore
5957
6058 //Checking if front is empty
6159 let frontNotEmpty = Array.zeroCreate 1
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ module DenseVector =
6666
6767 processor.Post( Msg.CreateRunMsg<_, _>( kernel))
6868
69- resultVector
70-
7169 let elementWise < 'a , 'b , 'c when 'a : struct and 'b : struct and 'c : struct >
7270 ( clContext : ClContext )
7371 ( opAdd : Expr < 'a option -> 'b option -> 'c option >)
@@ -88,6 +86,8 @@ module DenseVector =
8886
8987 elementWiseTo processor leftVector rightVector resultVector
9088
89+ resultVector
90+
9191 let elementWiseAtLeastOne clContext op workGroupSize =
9292 elementWise clContext ( StandardOperations.atLeastOneToOption op) workGroupSize
9393
@@ -121,8 +121,6 @@ module DenseVector =
121121
122122 processor.Post( Msg.CreateRunMsg<_, _>( kernel))
123123
124- resultVector
125-
126124 let fillSubVector < 'a , 'b when 'a : struct and 'b : struct >
127125 ( clContext : ClContext )
128126 ( maskOp : Expr < 'a option -> 'b option -> 'a -> 'a option >)
@@ -143,6 +141,8 @@ module DenseVector =
143141
144142 fillSubVectorTo processor leftVector maskVector value resultVector
145143
144+ resultVector
145+
146146 let standardFillSubVectorTo < 'a , 'b when 'a : struct and 'b : struct > ( clContext : ClContext ) ( workGroupSize : int ) =
147147 fillSubVectorTo< 'a, 'b>
148148 clContext
Original file line number Diff line number Diff line change @@ -146,8 +146,6 @@ module SpMV =
146146
147147 queue.Post( Msg.CreateFreeMsg intermediateArray)
148148
149- result
150-
151149 let run
152150 ( clContext : ClContext )
153151 ( add : Expr < 'c option -> 'c option -> 'c option >)
@@ -167,3 +165,5 @@ module SpMV =
167165 )
168166
169167 runTo queue matrix vector result
168+
169+ result
You can’t perform that action at this time.
0 commit comments