Commit d8ebb5c3 authored by Martin Khannouz's avatar Martin Khannouz Committed by Berenger Bramas

blockedMpiChebyshev ORDER set to 4 and add action to proceed when calling execute

parent ff34f1f0
...@@ -62,7 +62,7 @@ int main(int argc, char* argv[]){ ...@@ -62,7 +62,7 @@ int main(int argc, char* argv[]){
typedef double FReal; typedef double FReal;
// Initialize the types // Initialize the types
static const int ORDER = 6; static const int ORDER = 4;
typedef FInterpMatrixKernelR<FReal> MatrixKernelClass; typedef FInterpMatrixKernelR<FReal> MatrixKernelClass;
typedef FChebCellPODCore GroupCellSymbClass; typedef FChebCellPODCore GroupCellSymbClass;
...@@ -161,6 +161,7 @@ int main(int argc, char* argv[]){ ...@@ -161,6 +161,7 @@ int main(int argc, char* argv[]){
timer.tac(); timer.tac();
//std::cerr << "Done " << "(@Creating and Inserting Particles = " << timer.elapsed() << "s)." << std::endl; //std::cerr << "Done " << "(@Creating and Inserting Particles = " << timer.elapsed() << "s)." << std::endl;
int operationsToProceed = FFmmP2M | FFmmM2M | FFmmM2L | FFmmL2L | FFmmL2P | FFmmP2P;
{ // ----------------------------------------------------- { // -----------------------------------------------------
//std::cout << "\nChebyshev FMM (ORDER="<< ORDER << ") ... " << std::endl; //std::cout << "\nChebyshev FMM (ORDER="<< ORDER << ") ... " << std::endl;
...@@ -172,7 +173,7 @@ int main(int argc, char* argv[]){ ...@@ -172,7 +173,7 @@ int main(int argc, char* argv[]){
mpiComm.global().barrier(); mpiComm.global().barrier();
timer.tic(); timer.tic();
starpu_fxt_start_profiling(); starpu_fxt_start_profiling();
groupalgo.execute(); groupalgo.execute(operationsToProceed);
mpiComm.global().barrier(); mpiComm.global().barrier();
starpu_fxt_stop_profiling(); starpu_fxt_stop_profiling();
timer.tac(); timer.tac();
...@@ -204,7 +205,7 @@ int main(int argc, char* argv[]){ ...@@ -204,7 +205,7 @@ int main(int argc, char* argv[]){
FmmClass algorithm(mpiComm.global(),&treeCheck, &kernels); FmmClass algorithm(mpiComm.global(),&treeCheck, &kernels);
mpiComm.global().barrier(); mpiComm.global().barrier();
timer.tic(); timer.tic();
algorithm.execute(); algorithm.execute(operationsToProceed);
mpiComm.global().barrier(); mpiComm.global().barrier();
timer.tac(); timer.tac();
timeAverage(mpiComm.global().processId(), mpiComm.global().processCount(), timer.elapsed()); timeAverage(mpiComm.global().processId(), mpiComm.global().processCount(), timer.elapsed());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment