Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 065bd37e authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Fix elder starpu_insert_task

parent 81232717
Pipeline #219277 passed with stages
in 1 minute and 42 seconds
......@@ -106,7 +106,7 @@ int main(void)
float factor = 3.14;
start_time = starpu_timing_now();
ret = starpu_insert_task(&cl,
ret = starpu_task_insert(&cl,
/* an argument is passed to the codelet, beware that this is a
* READ-ONLY buffer and that the codelet may be given a pointer to a
* COPY of the argument */
......@@ -114,7 +114,7 @@ int main(void)
/* the codelet manipulates one buffer in RW mode */
STARPU_RW, vector_handle,
0);
STARPU_CHECK_RETURN_VALUE(ret, "starpu_insert_task");
STARPU_CHECK_RETURN_VALUE(ret, "starpu_task_insert");
/* Wait for tasks completion */
starpu_task_wait_for_all();
......
......@@ -115,7 +115,7 @@ int main(void)
start_time = starpu_timing_now();
for (i = 0; i < N; i++)
{
ret = starpu_insert_task(&cl,
ret = starpu_task_insert(&cl,
/* an argument is passed to the codelet, beware that this is a
* READ-ONLY buffer and that the codelet may be given a pointer to a
* COPY of the argument */
......@@ -123,7 +123,7 @@ int main(void)
/* the codelet manipulates one buffer in RW mode */
STARPU_RW, starpu_data_get_sub_data(vector_handle, 1, i),
0);
STARPU_CHECK_RETURN_VALUE(ret, "starpu_insert_task");
STARPU_CHECK_RETURN_VALUE(ret, "starpu_task_insert");
}
/* Wait for tasks completion */
......
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