@@ -229,7 +229,7 @@ module Operations =
229229type MxmBenchmarks4Float32MultiplicationOnly () =
230230
231231 inherit MxmBenchmarksMultiplicationOnly< float32>(
232- ( Matrix.mxm Operations.add Operations.mult),
232+ ( Matrix.SpGeMM.masked Operations.add Operations.mult),
233233 float32,
234234 ( fun _ -> Utils.nextSingle ( System.Random())),
235235 ( fun context matrix -> ClMatrix.CSR ( Matrix.ToBackendCSR context matrix))
@@ -241,7 +241,7 @@ type MxmBenchmarks4Float32MultiplicationOnly() =
241241type MxmBenchmarks4Float32WithTransposing () =
242242
243243 inherit MxmBenchmarksWithTransposing< float32>(
244- ( Matrix.mxm Operations.add Operations.mult),
244+ ( Matrix.SpGeMM.masked Operations.add Operations.mult),
245245 float32,
246246 ( fun _ -> Utils.nextSingle ( System.Random())),
247247 ( fun context matrix -> ClMatrix.CSR ( Matrix.ToBackendCSR context matrix))
@@ -253,7 +253,7 @@ type MxmBenchmarks4Float32WithTransposing() =
253253type MxmBenchmarks4BoolMultiplicationOnly () =
254254
255255 inherit MxmBenchmarksMultiplicationOnly< bool>(
256- ( Matrix.mxm Operations.logicalOr Operations.logicalAnd),
256+ ( Matrix.SpGeMM.masked Operations.logicalOr Operations.logicalAnd),
257257 ( fun _ -> true ),
258258 ( fun _ -> true ),
259259 ( fun context matrix -> ClMatrix.CSR ( Matrix.ToBackendCSR context matrix))
@@ -265,7 +265,7 @@ type MxmBenchmarks4BoolMultiplicationOnly() =
265265type MxmBenchmarks4BoolWithTransposing () =
266266
267267 inherit MxmBenchmarksWithTransposing< bool>(
268- ( Matrix.mxm Operations.logicalOr Operations.logicalAnd),
268+ ( Matrix.SpGeMM.masked Operations.logicalOr Operations.logicalAnd),
269269 ( fun _ -> true ),
270270 ( fun _ -> true ),
271271 ( fun context matrix -> ClMatrix.CSR ( Matrix.ToBackendCSR context matrix))
@@ -277,7 +277,7 @@ type MxmBenchmarks4BoolWithTransposing() =
277277type MxmBenchmarks4Float32MultiplicationOnlyWithZerosFilter () =
278278
279279 inherit MxmBenchmarksMultiplicationOnly< float32>(
280- ( Matrix.mxm Operations.addWithFilter Operations.mult),
280+ ( Matrix.SpGeMM.masked Operations.addWithFilter Operations.mult),
281281 float32,
282282 ( fun _ -> Utils.nextSingle ( System.Random())),
283283 ( fun context matrix -> ClMatrix.CSR ( Matrix.ToBackendCSR context matrix))
@@ -289,7 +289,7 @@ type MxmBenchmarks4Float32MultiplicationOnlyWithZerosFilter() =
289289type MxmBenchmarks4Float32WithTransposingWithZerosFilter () =
290290
291291 inherit MxmBenchmarksWithTransposing< float32>(
292- ( Matrix.mxm Operations.addWithFilter Operations.mult),
292+ ( Matrix.SpGeMM.masked Operations.addWithFilter Operations.mult),
293293 float32,
294294 ( fun _ -> Utils.nextSingle ( System.Random())),
295295 ( fun context matrix -> ClMatrix.CSR ( Matrix.ToBackendCSR context matrix))
0 commit comments