diff --git a/Benchmark/cholesky_gemm/gemm.cpp b/Benchmark/cholesky_gemm/gemm.cpp index 0098fc30624fa229786f49e48c7b75923c24d974..0908cbc51d22e133474ab38b5409c3584129f935 100644 --- a/Benchmark/cholesky_gemm/gemm.cpp +++ b/Benchmark/cholesky_gemm/gemm.cpp @@ -89,6 +89,8 @@ auto gemm(const int NbLoops, SpBlas::Block blocksC[], const SpBlas::Block blocks minMaxAvg[1] = std::numeric_limits<double>::min(); minMaxAvg[2] = 0; + static int cpt = 0;// TODO + for(int idxLoop = 0 ; idxLoop < NbLoops ; ++idxLoop){ SpTaskGraph<SpSpeculativeModel::SP_NO_SPEC> tg; tg.computeOn(ce); @@ -152,7 +154,10 @@ auto gemm(const int NbLoops, SpBlas::Block blocksC[], const SpBlas::Block blocks minMaxAvg[0] = std::min(minMaxAvg[0], timer.getElapsed()); minMaxAvg[1] = std::max(minMaxAvg[1], timer.getElapsed()); minMaxAvg[2] += timer.getElapsed(); + + tg.generateTrace("./trace" + std::to_string(cpt) + "-" + std::to_string(idxLoop) + ".svg");// TODO } + cpt++;// TODO #ifdef SPECX_COMPILE_WITH_CUDA ce.execOnWorkers([](auto id, auto type){