Commit 04acddab authored by Luka Stanisic's avatar Luka Stanisic

adding code for other kernels for multiple regression perfmodels

parent 65a8224c
......@@ -102,7 +102,8 @@ public:
FStarPUPtrInterface* worker = nullptr;
int intervalSize;
starpu_codelet_unpack_args(cl_arg, &worker, &intervalSize);
double p0;
starpu_codelet_unpack_args(cl_arg, &worker, &intervalSize, &p0);
worker->get<ThisClass>(FSTARPU_CPU_IDX)->bottomPassPerform(&leafCells, &containers);
}
......@@ -244,7 +245,8 @@ public:
FStarPUPtrInterface* worker = nullptr;
int idxLevel = 0;
int intervalSize;
starpu_codelet_unpack_args(cl_arg, &worker, &idxLevel, &intervalSize);
double p0, p1;
starpu_codelet_unpack_args(cl_arg, &worker, &idxLevel, &intervalSize, &p0, &p1);
worker->get<ThisClass>(FSTARPU_CPU_IDX)->transferInPassPerform(&currentCells, idxLevel);
}
......@@ -302,7 +304,8 @@ public:
const std::vector<OutOfBlockInteraction>* outsideInteractions;
int intervalSize;
int mode = 0;
starpu_codelet_unpack_args(cl_arg, &worker, &idxLevel, &outsideInteractions, &intervalSize, &mode);
double p0;
starpu_codelet_unpack_args(cl_arg, &worker, &idxLevel, &outsideInteractions, &intervalSize, &mode, &p0);
worker->get<ThisClass>(FSTARPU_CPU_IDX)->transferInoutPassPerform(&currentCells, &externalCells, idxLevel, outsideInteractions, mode);
}
......@@ -354,7 +357,8 @@ public:
FStarPUPtrInterface* worker = nullptr;
int idxLevel = 0;
int intervalSize;
starpu_codelet_unpack_args(cl_arg, &worker, &idxLevel, &intervalSize);
double p0, p1, p2;
starpu_codelet_unpack_args(cl_arg, &worker, &idxLevel, &intervalSize, &p0, &p1, &p2);
CellContainerClass subCellGroup(
(unsigned char*)STARPU_VARIABLE_GET_PTR(buffers[2]),
......@@ -550,7 +554,8 @@ public:
FStarPUPtrInterface* worker = nullptr;
int intervalSize;
starpu_codelet_unpack_args(cl_arg, &worker, &intervalSize);
double p0;
starpu_codelet_unpack_args(cl_arg, &worker, &intervalSize, &p0);
worker->get<ThisClass>(FSTARPU_CPU_IDX)->mergePassPerform(&leafCells, &containers);
}
......
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