Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit eecd611c authored by Quentin Khan's avatar Quentin Khan
Browse files

FAdaptiveStarPU: set StarPU codelet names

parent 6cdf47a8
......@@ -291,7 +291,7 @@ private:
void submit_starpu_task(starpu_task* task) {
const auto res = starpu_task_submit(task);
if(0 != res) {
std::cerr << task->cl->cpu_funcs_name[0] << " was not submitted...\n";
std::cerr << task->cl->name << " was not submitted...\n";
if(res == -ENODEV) {
std::cerr << "No device found to execute task.\n";
}
......@@ -406,6 +406,7 @@ private:
void init_M2M_codelet() {
starpu_codelet_init(&this->M2M_cl);
this->M2M_cl.name = "M2M";
this->M2M_cl.cpu_funcs[0] = M2M_cpu;
this->M2M_cl.cpu_funcs_name[0] = {const_cast<char*>("M2M task")};
this->M2M_cl.nbuffers = STARPU_VARIABLE_NBUFFERS;
......@@ -489,6 +490,7 @@ private:
void init_M2L_codelet() {
starpu_codelet_init(&this->M2L_cl);
this->M2L_cl.name = "M2L";
this->M2L_cl.cpu_funcs[0] = M2L_cpu;
this->M2L_cl.cpu_funcs_name[0] = {const_cast<char*>("M2L task")};
this->M2L_cl.nbuffers = STARPU_VARIABLE_NBUFFERS;
......@@ -644,6 +646,7 @@ private:
void init_L2L_codelet() {
starpu_codelet_init(&this->L2L_cl);
this->L2L_cl.name = "L2L";
this->L2L_cl.cpu_funcs[0] = L2L_cpu;
this->L2L_cl.cpu_funcs_name[0] = {const_cast<char*>("L2L task")};
this->L2L_cl.nbuffers = STARPU_VARIABLE_NBUFFERS;
......@@ -702,6 +705,7 @@ private:
void init_M2P_codelet() {
starpu_codelet_init(&this->M2P_cl);
this->M2P_cl.name = "M2P";
this->M2P_cl.cpu_funcs[0] = M2P_cpu;
this->M2P_cl.cpu_funcs_name[0] = {const_cast<char*>("M2P task")};
this->M2P_cl.nbuffers = 3; // {0: node multipole, 1:node symb, 2: leaf particles}
......@@ -752,6 +756,7 @@ private:
void init_L2P_codelet() {
starpu_codelet_init(&this->L2P_cl);
this->L2P_cl.name = "L2P";
this->L2P_cl.cpu_funcs[0] = L2P_cpu;
this->L2P_cl.cpu_funcs_name[0] = {const_cast<char*>("L2P task")};
this->L2P_cl.nbuffers = 3; // {0: leaf local exp, 1: leaf symb, 2: leaf particles}
......@@ -867,6 +872,7 @@ private:
void init_P2P_codelet() {
starpu_codelet_init(&this->P2P_cl);
this->P2P_cl.name = "P2P";
this->P2P_cl.cpu_funcs[0] = P2P_cpu;
this->P2P_cl.cpu_funcs_name[0] = {const_cast<char*>("P2P task")};
this->P2P_cl.nbuffers = STARPU_VARIABLE_NBUFFERS;
......
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