Просмотр исходного кода

mpi/src/starpu_mpi_collective.c: fix code for starpu_mpi_scatter_detached (at least i hope, old code not commented is tricky to understand)

Nathalie Furmento лет назад: 12
Родитель
Сommit
3f01452297
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      mpi/src/starpu_mpi_collective.c

+ 0 - 1
mpi/src/starpu_mpi_collective.c

@@ -57,7 +57,6 @@ int starpu_mpi_scatter_detached(starpu_data_handle_t *data_handles, int count, i
 		callback_arg->nb = 0;
 		callback_arg->callback = (rank == root) ? scallback : rcallback;
 		callback_arg->arg = (rank == root) ? sarg : rarg;
-		if (callback_arg->callback == NULL)
 
 		for(x = 0; x < count ; x++)
 		{