File tree Expand file tree Collapse file tree
benchmarks/GraphBLAS-sharp.Benchmarks/Algorithms
src/GraphBLAS-sharp.Backend/Matrix/CSR
tests/GraphBLAS-sharp.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ type WithoutTransferBenchmark<'elem when 'elem : struct>(
127127type BFSWithoutTransferBenchmarkInt32 () =
128128
129129 inherit WithoutTransferBenchmark< int>(
130- ( Algorithms.singleSourceBFS ArithmeticOperations.intSumOption ArithmeticOperations.intMulOption),
130+ ( Algorithms.BFS.singleSource ArithmeticOperations.intSumOption ArithmeticOperations.intMulOption),
131131 int32,
132132 ( fun _ -> Utils.nextInt ( System.Random())),
133133 0 ,
@@ -173,7 +173,7 @@ type WithTransferBenchmark<'elem when 'elem : struct>(
173173type BFSWithTransferBenchmarkInt32 () =
174174
175175 inherit WithTransferBenchmark< int>(
176- ( Algorithms.singleSourceBFS ArithmeticOperations.intSumOption ArithmeticOperations.intMulOption),
176+ ( Algorithms.BFS.singleSource ArithmeticOperations.intSumOption ArithmeticOperations.intMulOption),
177177 int32,
178178 ( fun _ -> Utils.nextInt ( System.Random())),
179179 0 ,
Original file line number Diff line number Diff line change @@ -204,8 +204,7 @@ module internal Map2 =
204204 workGroupSize
205205 =
206206
207- let merge =
208- Merge.run clContext workGroupSize
207+ let merge = Merge.run clContext workGroupSize
209208
210209 let preparePositions =
211210 preparePositions opAdd clContext workGroupSize
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ let testFixtures (testContext: TestContext) =
2020 sprintf " Test on %A " testContext.ClContext
2121
2222 let bfs =
23- Algorithms.singleSourceBFS
23+ Algorithms.BFS.singleSource
2424 ArithmeticOperations.intSumOption
2525 ArithmeticOperations.intMulOption
2626 context
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ open GraphBLAS.FSharp.Backend.Quotes
1212
1313let config =
1414 { Utils.defaultConfig with
15- endSize = 70
15+ endSize = 100
1616 maxTest = 20 }
1717
1818let logger = Log.create " kronecker.Tests"
Original file line number Diff line number Diff line change 11open Expecto
22open GraphBLAS.FSharp .Tests
33open GraphBLAS.FSharp .Tests .Backend
4+ open GraphBLAS.FSharp .Tests .Backend .Matrix
45
56let matrixTests =
67 testList
@@ -104,7 +105,8 @@ let hostTests =
104105
105106[<Tests>]
106107let allTests =
107- testList " All" [ deviceTests ] |> testSequenced
108+ testList " All" [ deviceTests; hostTests ]
109+ |> testSequenced
108110
109111[<EntryPoint>]
110112let main argv = allTests |> runTestsWithCLIArgs [] argv
You can’t perform that action at this time.
0 commit comments