@@ -138,7 +138,7 @@ module WithoutTransfer =
138138 type Float32 () =
139139
140140 inherit Benchmark< ClMatrix.COO< float32>, float32>(
141- ( fun context -> Matrix.map2 context ArithmeticOperations.float32SumOption),
141+ ( Matrix.map2 ArithmeticOperations.float32SumOption),
142142 float32,
143143 ( fun _ -> Utils.nextSingle ( System.Random())),
144144 Matrix.COO
@@ -150,7 +150,7 @@ module WithoutTransfer =
150150 type Bool () =
151151
152152 inherit Benchmark< ClMatrix.COO< bool>, bool>(
153- ( fun context -> Matrix.map2 context ArithmeticOperations.boolSumOption),
153+ ( Matrix.map2 ArithmeticOperations.boolSumOption),
154154 ( fun _ -> true ),
155155 ( fun _ -> true ),
156156 Matrix.COO
@@ -163,7 +163,7 @@ module WithoutTransfer =
163163 type Float32 () =
164164
165165 inherit Benchmark< ClMatrix.CSR< float32>, float32>(
166- ( fun context -> Matrix.map2 context ArithmeticOperations.float32SumOption),
166+ ( Matrix.map2 ArithmeticOperations.float32SumOption),
167167 float32,
168168 ( fun _ -> Utils.nextSingle ( System.Random())),
169169 ( fun matrix -> Matrix.CSR matrix.ToCSR)
@@ -175,7 +175,7 @@ module WithoutTransfer =
175175 type Bool () =
176176
177177 inherit Benchmark< ClMatrix.CSR< bool>, bool>(
178- ( fun context -> Matrix.map2 context ArithmeticOperations.boolSumOption),
178+ ( Matrix.map2 ArithmeticOperations.boolSumOption),
179179 ( fun _ -> true ),
180180 ( fun _ -> true ),
181181 ( fun matrix -> Matrix.CSR matrix.ToCSR)
@@ -189,7 +189,7 @@ module WithoutTransfer =
189189 type Bool () =
190190
191191 inherit Benchmark< ClMatrix.COO< bool>, bool>(
192- ( fun context -> Matrix.map2AtLeastOne context ArithmeticOperations.boolSumAtLeastOne),
192+ ( Matrix.map2AtLeastOne ArithmeticOperations.boolSumAtLeastOne),
193193 ( fun _ -> true ),
194194 ( fun _ -> true ),
195195 Matrix.COO
@@ -201,7 +201,7 @@ module WithoutTransfer =
201201 type Float32 () =
202202
203203 inherit Benchmark< ClMatrix.COO< float32>, float32>(
204- ( fun context -> Matrix.map2AtLeastOne context ArithmeticOperations.float32SumAtLeastOne),
204+ ( Matrix.map2AtLeastOne ArithmeticOperations.float32SumAtLeastOne),
205205 float32,
206206 ( fun _ -> Utils.nextSingle ( System.Random())),
207207 Matrix.COO
@@ -214,7 +214,7 @@ module WithoutTransfer =
214214 type Bool () =
215215
216216 inherit Benchmark< ClMatrix.CSR< bool>, bool>(
217- ( fun context -> Matrix.map2AtLeastOne context ArithmeticOperations.boolSumAtLeastOne),
217+ ( Matrix.map2AtLeastOne ArithmeticOperations.boolSumAtLeastOne),
218218 ( fun _ -> true ),
219219 ( fun _ -> true ),
220220 ( fun matrix -> Matrix.CSR matrix.ToCSR)
@@ -226,7 +226,7 @@ module WithoutTransfer =
226226 type Float32 () =
227227
228228 inherit Benchmark< ClMatrix.CSR< float32>, float32>(
229- ( fun context -> Matrix.map2AtLeastOne context ArithmeticOperations.float32SumAtLeastOne),
229+ ( Matrix.map2AtLeastOne ArithmeticOperations.float32SumAtLeastOne),
230230 float32,
231231 ( fun _ -> Utils.nextSingle ( System.Random())),
232232 ( fun matrix -> Matrix.CSR matrix.ToCSR)
@@ -273,7 +273,7 @@ module WithTransfer =
273273 type Float32 () =
274274
275275 inherit Benchmark< ClMatrix.COO< float32>, float32>(
276- ( fun context -> Matrix.map2 context ArithmeticOperations.float32SumOption),
276+ ( Matrix.map2 ArithmeticOperations.float32SumOption),
277277 float32,
278278 ( fun _ -> Utils.nextSingle ( System.Random())),
279279 Matrix.COO,
0 commit comments