File tree Expand file tree Collapse file tree 6 files changed +9
-11
lines changed Expand file tree Collapse file tree 6 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 46
46
run : |
47
47
conda activate root-nightly
48
48
mkdir -p build && cd build
49
- # The conda nightlies are not built with a cutting-edge ROOT version that the RooFit benchmarks require
50
- cmake -Dcuda=OFF -Droofit=OFF ..
49
+ cmake -Dcuda=OFF ..
51
50
cmake --build .
52
51
53
52
- name : Run benchmarks
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ endif()
10
10
project (rootbench )
11
11
12
12
option (cuda "Build benchmarks that run on CUDA GPUs" OFF )
13
- option (roofit "Build RooFit benchmarks" ON )
14
13
15
14
include (CMakeToolsHelpers OPTIONAL )
16
15
include (ExternalProject )
Original file line number Diff line number Diff line change
1
+ add_subdirectory (hist )
1
2
add_subdirectory (interpreter )
2
3
add_subdirectory (io )
3
- add_subdirectory (hist )
4
4
add_subdirectory (math )
5
5
add_subdirectory (pyroot )
6
- if (roofit )
7
- add_subdirectory (roofit )
8
- endif ()
9
- add_subdirectory (tree )
6
+ add_subdirectory (roofit )
10
7
add_subdirectory (tmva )
8
+ add_subdirectory (tree )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ TestWorkspaces::getWorkspace001(RooStats::HistFactory::HistoToWorkspaceFactoryFa
21
21
// in case the file is not found
22
22
if (bool bfile = gSystem ->AccessPathName (inputFile.c_str ())) {
23
23
std::cout << " Input file is not found - run prepareHistFactory script " << std::endl;
24
- gROOT -> ProcessLine ( " mkdir -p hf001" );
24
+ gSystem -> mkdir ( " hf001" );
25
25
gROOT ->ProcessLine (" .! prepareHistFactory hf001" );
26
26
bfile = gSystem ->AccessPathName (inputFile.c_str ());
27
27
if (bfile) {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class TestData {
23
23
using namespace RooFit ;
24
24
25
25
RooStats::HistFactory::HistoToWorkspaceFactoryFast::Configuration hfCfg;
26
- std::unique_ptr<RooWorkspace> ws = TestWorkspaces::getWorkspace001 (hfCfg);
26
+ ws = TestWorkspaces::getWorkspace001 (hfCfg);
27
27
28
28
auto *mc = static_cast <RooStats::ModelConfig *>(ws->obj (" ModelConfig" ));
29
29
@@ -47,6 +47,8 @@ class TestData {
47
47
minimizationPath = std::make_unique<RooDataSet>(*m.getLogDataSet ());
48
48
}
49
49
50
+ std::unique_ptr<RooWorkspace> ws;
51
+
50
52
// Dataset with the floating parameters as columns, and each call to getVal
51
53
// in the minimization path as rows.
52
54
std::unique_ptr<RooDataSet> minimizationPath;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RB_ADD_GBENCHMARK(benchRooFitBackends
14
14
LIBRARIES Core MathCore RooFitCore RooFit )
15
15
16
16
if (cuda )
17
- target_compile_definitions (benchRooFitBinned PRIVATE DO_BENCH_ROOFIT_CUDA )
17
+ target_compile_definitions (benchRooFitUnbinned PRIVATE DO_BENCH_ROOFIT_CUDA )
18
18
target_compile_definitions (benchRooFitBackends PRIVATE DO_BENCH_ROOFIT_CUDA )
19
19
endif ()
20
20
You can’t perform that action at this time.
0 commit comments