Skip to content

Commit 6c0a71f

Browse files
committed
refactor: formatting
1 parent b9d202f commit 6c0a71f

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

benchmarks/GraphBLAS-sharp.Benchmarks/Algorithms/BFS.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ type WithoutTransferBenchmark<'elem when 'elem : struct>(
127127
type 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>(
173173
type 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,

src/GraphBLAS-sharp.Backend/Matrix/CSR/Map2.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

tests/GraphBLAS-sharp.Tests/Backend/Algorithms/BFS.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

tests/GraphBLAS-sharp.Tests/Backend/Matrix/Kronecker.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ open GraphBLAS.FSharp.Backend.Quotes
1212

1313
let config =
1414
{ Utils.defaultConfig with
15-
endSize = 70
15+
endSize = 100
1616
maxTest = 20 }
1717

1818
let logger = Log.create "kronecker.Tests"

tests/GraphBLAS-sharp.Tests/Program.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
open Expecto
22
open GraphBLAS.FSharp.Tests
33
open GraphBLAS.FSharp.Tests.Backend
4+
open GraphBLAS.FSharp.Tests.Backend.Matrix
45

56
let matrixTests =
67
testList
@@ -104,7 +105,8 @@ let hostTests =
104105

105106
[<Tests>]
106107
let allTests =
107-
testList "All" [ deviceTests ] |> testSequenced
108+
testList "All" [ deviceTests; hostTests ]
109+
|> testSequenced
108110

109111
[<EntryPoint>]
110112
let main argv = allTests |> runTestsWithCLIArgs [] argv

0 commit comments

Comments
 (0)