@@ -195,7 +195,7 @@ type EWiseAddBenchmarksWithDataTransfer<'matrixT, 'elem when 'matrixT :> Backend
195195 this.Processor.PostAndReply Msg.MsgNotifyMe
196196
197197module M =
198- let resultToHostCOO ( resultMatrix : Backend.COOMatrix < 'a >) ( procesor : MailboxProcessor < _ >) =
198+ let resultToHostCOO ( resultMatrix : Backend.ClCOOMatrix < 'a >) ( procesor : MailboxProcessor < _ >) =
199199 let cols =
200200 let a = Array.zeroCreate resultMatrix.ColumnCount
201201 procesor.Post( Msg.CreateToHostMsg<_>( resultMatrix.Columns, a))
@@ -219,7 +219,7 @@ module M =
219219
220220type EWiseAddBenchmarks4Float32COOWithoutDataTransfer () =
221221
222- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.COOMatrix < float32>, float32>(
222+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCOOMatrix < float32>, float32>(
223223 ( fun context wgSize -> Backend.COOMatrix.elementwise context Backend.Common.StandardOperations.float32Sum wgSize),
224224 float32,
225225 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -231,7 +231,7 @@ type EWiseAddBenchmarks4Float32COOWithoutDataTransfer() =
231231
232232type EWiseAddBenchmarks4Float32COOWithDataTransfer () =
233233
234- inherit EWiseAddBenchmarksWithDataTransfer< Backend.COOMatrix < float32>, float32>(
234+ inherit EWiseAddBenchmarksWithDataTransfer< Backend.ClCOOMatrix < float32>, float32>(
235235 ( fun context wgSize -> Backend.COOMatrix.elementwise context Backend.Common.StandardOperations.float32Sum wgSize),
236236 float32,
237237 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -245,7 +245,7 @@ type EWiseAddBenchmarks4Float32COOWithDataTransfer() =
245245
246246type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer () =
247247
248- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.COOMatrix < bool>, bool>(
248+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCOOMatrix < bool>, bool>(
249249 ( fun context wgSize -> Backend.COOMatrix.elementwise context Backend.Common.StandardOperations.boolSum wgSize),
250250 ( fun _ -> true ),
251251 ( fun _ -> true ),
@@ -258,7 +258,7 @@ type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer() =
258258
259259type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer () =
260260
261- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.CSRMatrix < float32>, float32>(
261+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCSRMatrix < float32>, float32>(
262262 ( fun context wgSize -> Backend.CSRMatrix.elementwise context Backend.Common.StandardOperations.float32Sum wgSize),
263263 float32,
264264 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -271,7 +271,7 @@ type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer() =
271271
272272type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer () =
273273
274- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.CSRMatrix < bool>, bool>(
274+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCSRMatrix < bool>, bool>(
275275 ( fun context wgSize -> Backend.CSRMatrix.elementwise context Backend.Common.StandardOperations.boolSum wgSize),
276276 ( fun _ -> true ),
277277 ( fun _ -> true ),
@@ -285,7 +285,7 @@ type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer() =
285285
286286type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer () =
287287
288- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.COOMatrix < bool>, bool>(
288+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCOOMatrix < bool>, bool>(
289289 ( fun context wgSize -> Backend.COOMatrix.elementwiseAtLeastOne context Backend.Common.StandardOperations.boolSumAtLeastOne wgSize),
290290 ( fun _ -> true ),
291291 ( fun _ -> true ),
@@ -297,7 +297,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer() =
297297
298298type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer () =
299299
300- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.CSRMatrix < bool>, bool>(
300+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCSRMatrix < bool>, bool>(
301301 ( fun context wgSize -> Backend.CSRMatrix.elementwiseAtLeastOne context Backend.Common.StandardOperations.boolSumAtLeastOne wgSize),
302302 ( fun _ -> true ),
303303 ( fun _ -> true ),
@@ -309,7 +309,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer() =
309309
310310type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer () =
311311
312- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.COOMatrix < float32>, float32>(
312+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCOOMatrix < float32>, float32>(
313313 ( fun context wgSize -> Backend.COOMatrix.elementwiseAtLeastOne context Backend.Common.StandardOperations.float32SumAtLeastOne wgSize),
314314 float32,
315315 ( fun _ -> Utils.nextSingle ( System.Random())),
@@ -321,7 +321,7 @@ type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer() =
321321
322322type EWiseAddAtLeastOneBenchmarks4Float32CSRWithoutDataTransfer () =
323323
324- inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.CSRMatrix < float32>, float32>(
324+ inherit EWiseAddBenchmarksWithoutDataTransfer< Backend.ClCSRMatrix < float32>, float32>(
325325 ( fun context wgSize -> Backend.CSRMatrix.elementwiseAtLeastOne context Backend.Common.StandardOperations.float32SumAtLeastOne wgSize),
326326 float32,
327327 ( fun _ -> Utils.nextSingle ( System.Random())),
0 commit comments