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 1515 ]
1616 },
1717 "paket" : {
18- "version" : " 7.2.0 " ,
18+ "version" : " 8.0.3 " ,
1919 "commands" : [
2020 " paket"
2121 ]
3535 "fantomas-tool" : {
3636 "version" : " 4.5.4" ,
3737 "commands" : [
38- " fantomas"
38+ " fantomas"
3939 ]
4040 }
4141 }
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
22coAuthorsCiteseer.mtx
33!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 *
22Gpu
3364
Original file line number Diff line number Diff line change @@ -11,15 +11,20 @@ open System.Text.RegularExpressions
1111open GraphBLAS.FSharp .Tests
1212open FsCheck
1313open Expecto
14+ open System.Runtime .CompilerServices
1415
1516module Utils =
1617 type BenchmarkContext =
1718 { ClContext: Brahma .FSharp .ClContext
1819 Queue: RawCommandQueue }
1920
21+
22+ let relativePath = System.Environment.GetEnvironmentVariable " BENCH_ROOT_PATH" // Path.Combine [| whereAmI("") ;"""../../../"""|]
23+
24+
2025 let getMatricesFilenames configFilename =
2126 let getFullPathToConfig filename =
22- Path.Combine [| __ SOURCE _ DIRECTORY __
27+ Path.Combine [| relativePath
2328 " Configs"
2429 filename |]
2530 |> Path.GetFullPath
@@ -31,14 +36,14 @@ module Utils =
3136 |> Seq.filter ( fun line -> not <| line.StartsWith " !" )
3237
3338 let getFullPathToMatrix datasetsFolder matrixFilename =
34- Path.Combine [| __ SOURCE _ DIRECTORY __
39+ Path.Combine [| relativePath
3540 " Datasets"
3641 datasetsFolder
3742 matrixFilename |]
3843
3944 let availableContexts =
4045 let pathToConfig =
41- Path.Combine [| __ SOURCE _ DIRECTORY __
46+ Path.Combine [| relativePath
4247 " Configs"
4348 " Context.txt" |]
4449 |> Path.GetFullPath
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ let isRelease (targets : Target list) =
101101let invokeAsync f = async { f () }
102102
103103let 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"
105105 match Environment.environVarOrDefault " CONFIGURATION" defaultVal with
106106 | " Debug" -> DotNet.BuildConfiguration.Debug
107107 | " Release" -> DotNet.BuildConfiguration.Release
@@ -734,7 +734,7 @@ let initTargets () =
734734 ==> " CheckFormatCode"
735735 ==> " DotnetBuild"
736736 //==> "FSharpAnalyzers"
737- ==> " DotnetTest"
737+ // ==> "DotnetTest"
738738 =?> ( " GenerateCoverageReport" , not disableCodeCoverage)
739739 ==> " DotnetPack"
740740 ==> " SourceLinkTest"
Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ NUGET
747747 System.Xml.XmlDocument (>= 4.3) - restriction: && (< monoandroid) (< monotouch) (< net45) (>= netstandard1.3) (< win8) (< wpa81) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
748748 TypeShape (9.0)
749749 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
751751 ExtraConstraints.Fody (1.14) - restriction: >= net7.0
752752 Microsoft.Build.Framework (16.10) - restriction: >= net7.0
753753 System.CodeDom (>= 7.0) - restriction: >= net7.0
You can’t perform that action at this time.
0 commit comments