Ver código fonte

implicit: Fix termination of some MPI codes

Samuel Thibault 5 anos atrás
pai
commit
61875f518b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/dependencies/implicit_data_deps.c

+ 1 - 1
src/core/dependencies/implicit_data_deps.c

@@ -94,7 +94,7 @@ static void _starpu_add_accessor(starpu_data_handle_t handle, struct starpu_task
 		_STARPU_DEP_DEBUG("dep ID%lu -> %p\n", handle->last_submitted_ghost_sync_id, pre_sync_task);
 	}
 
-	if (submit_pre_sync && !pre_sync_task->cl)
+	if (*submit_pre_sync && !pre_sync_task->cl)
 	{
 		/* Add a reference to be released in _starpu_handle_job_termination */
 		_starpu_spin_lock(&handle->header_lock);