File tree Expand file tree Collapse file tree 7 files changed +520
-512
lines changed
benchmarks/GraphBLAS-sharp.Benchmarks Expand file tree Collapse file tree 7 files changed +520
-512
lines changed Original file line number Diff line number Diff line change 15
15
]
16
16
},
17
17
"paket" : {
18
- "version" : " 7.2.0 " ,
18
+ "version" : " 8.0.3 " ,
19
19
"commands" : [
20
20
" paket"
21
21
]
35
35
"fantomas-tool" : {
36
36
"version" : " 4.5.4" ,
37
37
"commands" : [
38
- " fantomas"
38
+ " fantomas"
39
39
]
40
40
}
41
41
}
42
- }
42
+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
- wing.mtx
1
+ ! wing.mtx
2
2
coAuthorsCiteseer.mtx
3
3
!hollywood-2009.mtx
4
- roadNet-CA.mtx
5
- belgium_osm.mtx
6
- road_central.mtx
7
- coPapersDBLP.mtx
4
+ ! roadNet-CA.mtx
5
+ ! belgium_osm.mtx
6
+ ! road_central.mtx
7
+ ! coPapersDBLP.mtx
Original file line number Diff line number Diff line change 1
- AMD *
1
+ NVIDIA *
2
2
Gpu
3
3
64
Original file line number Diff line number Diff line change @@ -11,15 +11,20 @@ open System.Text.RegularExpressions
11
11
open GraphBLAS.FSharp .Tests
12
12
open FsCheck
13
13
open Expecto
14
+ open System.Runtime .CompilerServices
14
15
15
16
module Utils =
16
17
type BenchmarkContext =
17
18
{ ClContext: Brahma .FSharp .ClContext
18
19
Queue: RawCommandQueue }
19
20
21
+
22
+ let relativePath = System.Environment.GetEnvironmentVariable " BENCH_ROOT_PATH" // Path.Combine [| whereAmI("") ;"""../../../"""|]
23
+
24
+
20
25
let getMatricesFilenames configFilename =
21
26
let getFullPathToConfig filename =
22
- Path.Combine [| __ SOURCE _ DIRECTORY __
27
+ Path.Combine [| relativePath
23
28
" Configs"
24
29
filename |]
25
30
|> Path.GetFullPath
@@ -31,14 +36,14 @@ module Utils =
31
36
|> Seq.filter ( fun line -> not <| line.StartsWith " !" )
32
37
33
38
let getFullPathToMatrix datasetsFolder matrixFilename =
34
- Path.Combine [| __ SOURCE _ DIRECTORY __
39
+ Path.Combine [| relativePath
35
40
" Datasets"
36
41
datasetsFolder
37
42
matrixFilename |]
38
43
39
44
let availableContexts =
40
45
let pathToConfig =
41
- Path.Combine [| __ SOURCE _ DIRECTORY __
46
+ Path.Combine [| relativePath
42
47
" Configs"
43
48
" Context.txt" |]
44
49
|> Path.GetFullPath
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ let isRelease (targets : Target list) =
101
101
let invokeAsync f = async { f () }
102
102
103
103
let configuration ( targets : Target list ) =
104
- let defaultVal = if isRelease targets then " Release" else " Debug"
104
+ let defaultVal = " Release " // if isRelease targets then "Release" else "Debug"
105
105
match Environment.environVarOrDefault " CONFIGURATION" defaultVal with
106
106
| " Debug" -> DotNet.BuildConfiguration.Debug
107
107
| " Release" -> DotNet.BuildConfiguration.Release
@@ -734,7 +734,7 @@ let initTargets () =
734
734
==> " CheckFormatCode"
735
735
==> " DotnetBuild"
736
736
//==> "FSharpAnalyzers"
737
- ==> " DotnetTest"
737
+ // ==> "DotnetTest"
738
738
=?> ( " GenerateCoverageReport" , not disableCodeCoverage)
739
739
==> " DotnetPack"
740
740
==> " SourceLinkTest"
Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ NUGET
747
747
System.Xml.XmlDocument (>= 4.3) - restriction: && (< monoandroid) (< monotouch) (< net45) (>= netstandard1.3) (< win8) (< wpa81) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
748
748
TypeShape (9.0)
749
749
FSharp.Core (>= 4.3.2) - restriction: >= netstandard2.0
750
- YC.OpenCL.NET (2.0 .5) - restriction: >= net7.0
750
+ YC.OpenCL.NET (3.0.0-alpha1 .5) - restriction: >= net7.0
751
751
ExtraConstraints.Fody (1.14) - restriction: >= net7.0
752
752
Microsoft.Build.Framework (16.10) - restriction: >= net7.0
753
753
System.CodeDom (>= 7.0) - restriction: >= net7.0
You can’t perform that action at this time.
0 commit comments