Skip to content

Commit

Permalink
Little mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvegrod committed Oct 10, 2024
1 parent 136ba56 commit 0b027aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/auxiliar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,13 @@ function grepOutputXGetNumber(output :: String, string ::String)::Float64

return getNumber(String(grepOutput(output, string)[1]))
end

using Pkg

function install_deps()
Pkg.add("BenchmarkTools")
Pkg.add("GFlops")
Pkg.add("HDF5")
Pkg.add("STREAMBenchmark")
Pkg.add("Suppressor")
end
4 changes: 4 additions & 0 deletions src/prefix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ function perftestprefix(ctx :: Context)::Expr

# Used to save data about this test suite if needed
path = "./$(PerfTest.save_folder)/$(suite_name).JLD2"
if isdir("./$(PerfTest.save_folder)")
else
mkdir("./$(PerfTest.save_folder)")
end

nofile = true
if isfile(path)
Expand Down

0 comments on commit 0b027aa

Please sign in to comment.