@@ -109,7 +109,7 @@ type EWiseAddBenchmarks<'matrixT, 'elem when 'matrixT :> IDeviceMemObject and 'e
109109 reader.ReadMatrix converter
110110
111111 member this.EWiseAddition () =
112- this.ResultMatrix <- this.FunToBenchmark this.Processor firstMatrix secondMatrix
112+ this.ResultMatrix <- this.FunToBenchmark this.Processor HostInterop firstMatrix secondMatrix
113113
114114 member this.ClearInputMatrices () =
115115 ( firstMatrix :> IDeviceMemObject) .Dispose this.Processor
@@ -225,7 +225,7 @@ module M =
225225type EWiseAddBenchmarks4Float32COOWithoutDataTransfer () =
226226
227227 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< float32>, float32>(
228- ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.float32Sum wgSize HostInterop ),
228+ ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.float32Sum wgSize),
229229 float32,
230230 ( fun _ -> Utils.nextSingle ( System.Random())),
231231 Matrix.ToBackendCOO
@@ -237,7 +237,7 @@ type EWiseAddBenchmarks4Float32COOWithoutDataTransfer() =
237237type EWiseAddBenchmarks4Float32COOWithDataTransfer () =
238238
239239 inherit EWiseAddBenchmarksWithDataTransfer< ClMatrix.COO< float32>, float32>(
240- ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.float32Sum wgSize HostInterop ),
240+ ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.float32Sum wgSize),
241241 float32,
242242 ( fun _ -> Utils.nextSingle ( System.Random())),
243243 Matrix.ToBackendCOO< float32>,
@@ -251,7 +251,7 @@ type EWiseAddBenchmarks4Float32COOWithDataTransfer() =
251251type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer () =
252252
253253 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< bool>, bool>(
254- ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.boolSum wgSize HostInterop ),
254+ ( fun context wgSize -> COOMatrix.elementwise context ArithmeticOperations.boolSum wgSize),
255255 ( fun _ -> true ),
256256 ( fun _ -> true ),
257257 Matrix.ToBackendCOO< bool>
@@ -264,7 +264,7 @@ type EWiseAddBenchmarks4BoolCOOWithoutDataTransfer() =
264264type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer () =
265265
266266 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< float32>, float32>(
267- ( fun context wgSize -> CSRMatrix.elementwise context ArithmeticOperations.float32Sum wgSize HostInterop ),
267+ ( fun context wgSize -> CSRMatrix.elementwise context ArithmeticOperations.float32Sum wgSize),
268268 float32,
269269 ( fun _ -> Utils.nextSingle ( System.Random())),
270270 Matrix.ToBackendCSR
@@ -277,7 +277,7 @@ type EWiseAddBenchmarks4Float32CSRWithoutDataTransfer() =
277277type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer () =
278278
279279 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< bool>, bool>(
280- ( fun context wgSize -> CSRMatrix.elementwise context ArithmeticOperations.boolSum wgSize HostInterop ),
280+ ( fun context wgSize -> CSRMatrix.elementwise context ArithmeticOperations.boolSum wgSize),
281281 ( fun _ -> true ),
282282 ( fun _ -> true ),
283283 Matrix.ToBackendCSR
@@ -291,7 +291,7 @@ type EWiseAddBenchmarks4BoolCSRWithoutDataTransfer() =
291291type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer () =
292292
293293 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< bool>, bool>(
294- ( fun context wgSize -> COOMatrix.elementwiseAtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize HostInterop ),
294+ ( fun context wgSize -> COOMatrix.elementwiseAtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
295295 ( fun _ -> true ),
296296 ( fun _ -> true ),
297297 Matrix.ToBackendCOO< bool>
@@ -303,7 +303,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCOOWithoutDataTransfer() =
303303type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer () =
304304
305305 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< bool>, bool>(
306- ( fun context wgSize -> CSRMatrix.elementwiseAtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize HostInterop ),
306+ ( fun context wgSize -> CSRMatrix.elementwiseAtLeastOne context ArithmeticOperations.boolSumAtLeastOne wgSize),
307307 ( fun _ -> true ),
308308 ( fun _ -> true ),
309309 Matrix.ToBackendCSR
@@ -315,7 +315,7 @@ type EWiseAddAtLeastOneBenchmarks4BoolCSRWithoutDataTransfer() =
315315type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer () =
316316
317317 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.COO< float32>, float32>(
318- ( fun context wgSize -> COOMatrix.elementwiseAtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize HostInterop ),
318+ ( fun context wgSize -> COOMatrix.elementwiseAtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
319319 float32,
320320 ( fun _ -> Utils.nextSingle ( System.Random())),
321321 Matrix.ToBackendCOO< float32>
@@ -327,7 +327,7 @@ type EWiseAddAtLeastOneBenchmarks4Float32COOWithoutDataTransfer() =
327327type EWiseAddAtLeastOneBenchmarks4Float32CSRWithoutDataTransfer () =
328328
329329 inherit EWiseAddBenchmarksWithoutDataTransfer< ClMatrix.CSR< float32>, float32>(
330- ( fun context wgSize -> CSRMatrix.elementwiseAtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize HostInterop ),
330+ ( fun context wgSize -> CSRMatrix.elementwiseAtLeastOne context ArithmeticOperations.float32SumAtLeastOne wgSize),
331331 float32,
332332 ( fun _ -> Utils.nextSingle ( System.Random())),
333333 Matrix.ToBackendCSR< float32>
0 commit comments