|
@@ -146,8 +146,8 @@ static uint32_t _starpu_worker_exists_and_can_execute(struct starpu_task *task,
|
|
|
if (!test_implementation)
|
|
|
break;
|
|
|
|
|
|
- if (task->cl->can_execute && task->cl->can_execute(i, task, impl))
|
|
|
- return 1;
|
|
|
+ if (task->cl->can_execute)
|
|
|
+ return task->cl->can_execute(i, task, impl);
|
|
|
|
|
|
if(test_implementation)
|
|
|
return 1;
|