Explorar o código

comment bogus cl_arg passing

Samuel Thibault %!s(int64=9) %!d(string=hai) anos
pai
achega
2514854306
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/tag_example/tag_restartable.c

+ 1 - 1
examples/tag_example/tag_restartable.c

@@ -92,7 +92,7 @@ static void create_task_grid(unsigned iter)
 		struct starpu_task *task = tasks[iter][i] = starpu_task_create();
 
 		task->cl = &cl;
-		task->cl_arg = (void*)(uintptr_t) (i | (iter << 16));
+		/* task->cl_arg = (void*)(uintptr_t) (i | (iter << 16)); */
 
 		task->use_tag = 1;
 		task->tag_id = TAG(i, iter);