@@ -5,8 +5,6 @@ open GraphBLAS.FSharp.Backend.Quotes
55open Microsoft.FSharp .Control
66open Microsoft.FSharp .Quotations
77open GraphBLAS.FSharp .Backend .Common
8- open GraphBLAS.FSharp .Backend .Vector .Dense
9- open GraphBLAS.FSharp .Backend .Vector .Sparse
108open GraphBLAS.FSharp .Backend .Objects
119open GraphBLAS.FSharp .Backend .Objects .ClContext
1210open GraphBLAS.FSharp .Backend .Objects .ClVector
@@ -80,7 +78,7 @@ module Vector =
8078
8179 let copy ( clContext : ClContext ) workGroupSize =
8280 let sparseCopy =
83- SparseVector .copy clContext workGroupSize
81+ Sparse.Vector .copy clContext workGroupSize
8482
8583 let copyOptionData = ClArray.copy clContext workGroupSize
8684
@@ -95,7 +93,7 @@ module Vector =
9593
9694 let toSparse ( clContext : ClContext ) workGroupSize =
9795 let toSparse =
98- DenseVector .toSparse clContext workGroupSize
96+ Dense.Vector .toSparse clContext workGroupSize
9997
10098 let copy = copy clContext workGroupSize
10199
@@ -108,7 +106,7 @@ module Vector =
108106
109107 let toDense ( clContext : ClContext ) workGroupSize =
110108 let toDense =
111- SparseVector .toDense clContext workGroupSize
109+ Sparse.Vector .toDense clContext workGroupSize
112110
113111 let copy = ClArray.copy clContext workGroupSize
114112
@@ -123,10 +121,10 @@ module Vector =
123121
124122 let map2 ( clContext : ClContext ) ( opAdd : Expr < 'a option -> 'b option -> 'c option >) workGroupSize =
125123 let map2Dense =
126- DenseVector .map2 clContext opAdd workGroupSize
124+ Dense.Vector .map2 clContext opAdd workGroupSize
127125
128126 let map2Sparse =
129- SparseVector .map2 clContext opAdd workGroupSize
127+ Sparse.Vector .map2 clContext opAdd workGroupSize
130128
131129 fun ( processor : MailboxProcessor < _ >) allocationMode ( leftVector : ClVector < 'a >) ( rightVector : ClVector < 'b >) ->
132130 match leftVector, rightVector with
@@ -140,10 +138,10 @@ module Vector =
140138
141139 let map2AtLeastOne ( clContext : ClContext ) ( opAdd : Expr < AtLeastOne < 'a , 'b > -> 'c option >) workGroupSize =
142140 let map2Sparse =
143- SparseVector .map2AtLeastOne clContext opAdd workGroupSize
141+ Sparse.Vector .map2AtLeastOne clContext opAdd workGroupSize
144142
145143 let map2Dense =
146- DenseVector .map2AtLeastOne clContext opAdd workGroupSize
144+ Dense.Vector .map2AtLeastOne clContext opAdd workGroupSize
147145
148146 fun ( processor : MailboxProcessor < _ >) allocationMode ( leftVector : ClVector < 'a >) ( rightVector : ClVector < 'b >) ->
149147 match leftVector, rightVector with
@@ -158,10 +156,10 @@ module Vector =
158156 let private assignByMaskGeneral < 'a , 'b when 'a : struct and 'b : struct > ( clContext : ClContext ) op workGroupSize =
159157
160158 let sparseFillVector =
161- SparseVector .assignByMask clContext op workGroupSize
159+ Sparse.Vector .assignByMask clContext op workGroupSize
162160
163161 let denseFillVector =
164- DenseVector .assignByMask clContext op workGroupSize
162+ Dense.Vector .assignByMask clContext op workGroupSize
165163
166164 fun ( processor : MailboxProcessor < _ >) allocationMode ( vector : ClVector < 'a >) ( mask : ClVector < 'b >) ( value : ClCell < 'a >) ->
167165 match vector, mask with
@@ -181,10 +179,10 @@ module Vector =
181179
182180 let reduce ( clContext : ClContext ) workGroupSize ( opAdd : Expr < 'a -> 'a -> 'a >) =
183181 let sparseReduce =
184- SparseVector .reduce clContext workGroupSize opAdd
182+ Sparse.Vector .reduce clContext workGroupSize opAdd
185183
186184 let denseReduce =
187- DenseVector .reduce clContext workGroupSize opAdd
185+ Dense.Vector .reduce clContext workGroupSize opAdd
188186
189187 fun ( processor : MailboxProcessor < _ >) ( vector : ClVector < 'a >) ->
190188 match vector with
0 commit comments