Explorar o código

drop duplicate test

Samuel Thibault %!s(int64=10) %!d(string=hai) anos
pai
achega
3f9f7100d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -381,7 +381,7 @@ int starpu_worker_can_execute_task_first_impl(unsigned workerid, struct starpu_t
 	{
 	{
 		for (i = 0; i < STARPU_MAXIMPLEMENTATIONS; i++)
 		for (i = 0; i < STARPU_MAXIMPLEMENTATIONS; i++)
 			if (_starpu_can_use_nth_implementation(arch, cl, i)
 			if (_starpu_can_use_nth_implementation(arch, cl, i)
-			 && (!task->cl->can_execute || task->cl->can_execute(workerid, task, i)))
+			 && task->cl->can_execute(workerid, task, i))
 			{
 			{
 				if (nimpl)
 				if (nimpl)
 					*nimpl = i;
 					*nimpl = i;