@@ -9,8 +9,7 @@ open BenchmarkDotNet.Columns
99open Brahma.FSharp
1010open GraphBLAS.FSharp .Objects
1111open GraphBLAS.FSharp .Backend .Objects
12- open GraphBLAS.FSharp .Backend .Matrix .COO
13- open GraphBLAS.FSharp .Backend .Matrix .CSR
12+ open GraphBLAS.FSharp .Backend .Matrix
1413open GraphBLAS.FSharp .Objects .Matrix
1514open GraphBLAS.FSharp .Benchmarks .MatrixExtensions
1615open GraphBLAS.FSharp .Backend .Objects .ClContext
@@ -196,7 +195,7 @@ module M =
196195type EWiseAddBenchmarks4Float32COOWithoutDataTransfer () =
197196
198197 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< float32>, float32>(
199- ( fun context wgSize -> COOMatrix .map2 context ArithmeticOperations.float32Sum wgSize),
198+ ( fun context wgSize -> COO.Matrix .map2 context ArithmeticOperations.float32Sum wgSize),
200199 float32,
201200 ( fun _ -> Utils.nextSingle ( System.Random())),
202201 Matrix.ToBackendCOO
@@ -208,7 +207,7 @@ type EWiseAddBenchmarks4Float32COOWithoutDataTransfer() =
208207type EWiseAddBenchmarks4Float32COOWithDataTransfer () =
209208
210209 inherit EWiseAddBenchmarksWithDataTransfer< ClMatrix.COO< float32>, float32>(
211- ( fun context wgSize -> COOMatrix .map2 context ArithmeticOperations.float32Sum wgSize),
210+ ( fun context wgSize -> COO.Matrix .map2 context ArithmeticOperations.float32Sum wgSize),
212211 float32,
213212 ( fun _ -> Utils.nextSingle ( System.Random())),
214213 Matrix.ToBackendCOO< float32>,
@@ -222,7 +221,7 @@ type EWiseAddBenchmarks4Float32COOWithDataTransfer() =
222221type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer () =
223222
224223 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< bool>, bool>(
225- ( fun context wgSize -> COOMatrix .map2 context ArithmeticOperations.boolSum wgSize),
224+ ( fun context wgSize -> COO.Matrix .map2 context ArithmeticOperations.boolSum wgSize),
226225 ( fun _ -> true ),
227226 ( fun _ -> true ),
228227 Matrix.ToBackendCOO< bool>
@@ -235,7 +234,7 @@ type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer() =
235234type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer () =
236235
237236 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< float32>, float32>(
238- ( fun context wgSize -> CSRMatrix .map2 context ArithmeticOperations.float32Sum wgSize),
237+ ( fun context wgSize -> CSR.Matrix .map2 context ArithmeticOperations.float32Sum wgSize),
239238 float32,
240239 ( fun _ -> Utils.nextSingle ( System.Random())),
241240 Matrix.ToBackendCSR
@@ -248,7 +247,7 @@ type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer() =
248247type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer () =
249248
250249 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< bool>, bool>(
251- ( fun context wgSize -> CSRMatrix .map2 context ArithmeticOperations.boolSum wgSize),
250+ ( fun context wgSize -> CSR.Matrix .map2 context ArithmeticOperations.boolSum wgSize),
252251 ( fun _ -> true ),
253252 ( fun _ -> true ),
254253 Matrix.ToBackendCSR
@@ -262,7 +261,7 @@ type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer() =
262261type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer () =
263262
264263 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< bool>, bool>(
265- ( fun context wgSize -> COOMatrix .map2AtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
264+ ( fun context wgSize -> COO.Matrix .map2AtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
266265 ( fun _ -> true ),
267266 ( fun _ -> true ),
268267 Matrix.ToBackendCOO< bool>
@@ -274,7 +273,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer() =
274273type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer () =
275274
276275 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< bool>, bool>(
277- ( fun context wgSize -> CSRMatrix .map2AtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
276+ ( fun context wgSize -> CSR.Matrix .map2AtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
278277 ( fun _ -> true ),
279278 ( fun _ -> true ),
280279 Matrix.ToBackendCSR
@@ -286,7 +285,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer() =
286285type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer () =
287286
288287 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< float32>, float32>(
289- ( fun context wgSize -> COOMatrix .map2AtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
288+ ( fun context wgSize -> COO.Matrix .map2AtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
290289 float32,
291290 ( fun _ -> Utils.nextSingle ( System.Random())),
292291 Matrix.ToBackendCOO< float32>
@@ -298,7 +297,7 @@ type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer() =
298297type EWiseAddAtLeastOneBenchmarks4Float32CSRWithoutDataTransfer () =
299298
300299 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< float32>, float32>(
301- ( fun context wgSize -> CSRMatrix .map2AtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
300+ ( fun context wgSize -> CSR.Matrix .map2AtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
302301 float32,
303302 ( fun _ -> Utils.nextSingle ( System.Random())),
304303 Matrix.ToBackendCSR< float32>
0 commit comments