Browse Source

Fix selecting the core ID on MIC

Samuel Thibault 9 years ago
parent
commit
7d0da05fe9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/mp_common/source_common.c

+ 1 - 1
src/drivers/mp_common/source_common.c

@@ -428,7 +428,7 @@ static int _starpu_src_common_execute(struct _starpu_job *j,
 
 	//_STARPU_DEBUG("\nworkerid:%d, rank:%d, type:%d,	cb_workerid:%d, task_size:%d\n\n",worker->devid,worker->current_rank,task->cl->type,j->combined_workerid,j->task_size);
 
-	_starpu_src_common_execute_kernel(node, kernel, worker->devid, task->cl->type,
+	_starpu_src_common_execute_kernel(node, kernel, worker->subworkerid, task->cl->type,
 			(j->task_size > 1),
 			j->combined_workerid, task->handles,
 			task->interfaces, STARPU_TASK_GET_NBUFFERS(task),