@@ -11,7 +11,6 @@ open GraphBLAS.FSharp.Objects
1111open GraphBLAS.FSharp .Backend .Objects
1212open GraphBLAS.FSharp .Backend .Matrix .COO
1313open GraphBLAS.FSharp .Backend .Matrix .CSR
14- open GraphBLAS.FSharp .Backend .Common
1514
1615type Config () =
1716 inherit ManualConfig()
@@ -198,7 +197,7 @@ type EWiseAddBenchmarksWithDataTransfer<'matrixT, 'elem when 'matrixT :> IDevice
198197 this.Processor.PostAndReply Msg.MsgNotifyMe
199198
200199module M =
201- let resultToHostCOO ( resultMatrix : ClCOOMatrix < 'a >) ( processor : MailboxProcessor < _ >) =
200+ let resultToHostCOO ( resultMatrix : ClMatrix.COO < 'a >) ( processor : MailboxProcessor < _ >) =
202201 let cols =
203202 let a = Array.zeroCreate resultMatrix.ColumnCount
204203 processor.Post( Msg.CreateToHostMsg<_>( resultMatrix.Columns, a))
@@ -222,7 +221,7 @@ module M =
222221
223222type EWiseAddBenchmarks4Float32COOWithoutDataTransfer () =
224223
225- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCOOMatrix < float32>, float32>(
224+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO < float32>, float32>(
226225 ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.float32Sum wgSize),
227226 float32,
228227 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -234,7 +233,7 @@ type EWiseAddBenchmarks4Float32COOWithoutDataTransfer() =
234233
235234type EWiseAddBenchmarks4Float32COOWithDataTransfer () =
236235
237- inherit EWiseAddBenchmarksWithDataTransfer< ClCOOMatrix < float32>, float32>(
236+ inherit EWiseAddBenchmarksWithDataTransfer< ClMatrix.COO < float32>, float32>(
238237 ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.float32Sum wgSize),
239238 float32,
240239 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -248,7 +247,7 @@ type EWiseAddBenchmarks4Float32COOWithDataTransfer() =
248247
249248type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer () =
250249
251- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCOOMatrix < bool>, bool>(
250+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO < bool>, bool>(
252251 ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.boolSum wgSize),
253252 ( fun _ -> true ),
254253 ( fun _ -> true ),
@@ -261,7 +260,7 @@ type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer() =
261260
262261type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer () =
263262
264- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCSRMatrix < float32>, float32>(
263+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR < float32>, float32>(
265264 ( fun context wgSize -> CSRMatrix.elementwise context ArithmeticOperations.float32Sum wgSize),
266265 float32,
267266 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -274,7 +273,7 @@ type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer() =
274273
275274type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer () =
276275
277- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCSRMatrix < bool>, bool>(
276+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR < bool>, bool>(
278277 ( fun context wgSize -> CSRMatrix.elementwise context ArithmeticOperations.boolSum wgSize),
279278 ( fun _ -> true ),
280279 ( fun _ -> true ),
@@ -288,7 +287,7 @@ type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer() =
288287
289288type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer () =
290289
291- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCOOMatrix < bool>, bool>(
290+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO < bool>, bool>(
292291 ( fun context wgSize -> COOMatrix.elementwiseAtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
293292 ( fun _ -> true ),
294293 ( fun _ -> true ),
@@ -300,7 +299,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer() =
300299
301300type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer () =
302301
303- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCSRMatrix < bool>, bool>(
302+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR < bool>, bool>(
304303 ( fun context wgSize -> CSRMatrix.elementwiseAtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
305304 ( fun _ -> true ),
306305 ( fun _ -> true ),
@@ -312,7 +311,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer() =
312311
313312type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer () =
314313
315- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCOOMatrix < float32>, float32>(
314+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO < float32>, float32>(
316315 ( fun context wgSize -> COOMatrix.elementwiseAtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
317316 float32,
318317 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -324,7 +323,7 @@ type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer() =
324323
325324type EWiseAddAtLeastOneBenchmarks4Float32CSRWithoutDataTransfer () =
326325
327- inherit EWiseAddBenchmarksWithoutDataTransfer< ClCSRMatrix < float32>, float32>(
326+ inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR < float32>, float32>(
328327 ( fun context wgSize -> CSRMatrix.elementwiseAtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
329328 float32,
330329 ( fun _ -> Utils.nextSingle ( System.Random())),
0 commit comments