Commit 5a923060 authored by Antoine Jego's avatar Antoine Jego
Browse files

typo flsh

parent 50b4583a
......@@ -644,18 +644,18 @@ int main(int argc, char *argv[])
}
struct cl_zgemm_args_s *clargs = NULL;
if (c_local) {
// printf("[%d] executing %d,%d (l:%d)\n",comm_rank,b_row,b_col,b_aisle);
// printf("[%d] executing %d,%d (l:%d)\n",comm_rank,b_row,b_col,b_aisle);
clargs = malloc(sizeof( struct cl_zgemm_args_s ));
clargs->alpha = alpha;
clargs->beta = b_aisle==0? beta : 1.0;
} else {
// printf("[%d] inserting %d,%d (l:%d)\n",comm_rank,b_row,b_col,b_aisle);
// printf("[%d] inserting %d,%d (l:%d)\n",comm_rank,b_row,b_col,b_aisle);
}
/* printf("[%d] C_%d,%d (%d-%p-%d) += A_%d,%d (%d-%p-%d) B_%d,%d (%d-%p-%d)\n", comm_rank,
/* printf("[%d] C_%d,%d (%d-%p-%d) += A_%d,%d (%d-%p-%d) B_%d,%d (%d-%p-%d)\n", comm_rank,
b_row,b_col, Cij->registered,Cij->hdl,Cij->owner,
b_row,b_aisle,Ail->registered,Ail->hdl,Ail->owner,
b_aisle,b_col,Blj->registered,Blj->hdl,Blj->owner);
*/ starpu_mpi_task_insert(MPI_COMM_WORLD, &gemm_cl,
*/ starpu_mpi_task_insert(MPI_COMM_WORLD, &gemm_cl,
STARPU_CL_ARGS, clargs, sizeof(struct cl_zgemm_args_s),
STARPU_R, *Ail->hdl,
STARPU_R, *Blj->hdl,
......@@ -668,7 +668,8 @@ int main(int argc, char *argv[])
if (flush) {
for (b_aisle=0;b_aisle<KB;b_aisle++)
{
if (A->blocks[b_row*KB+b_aisle].registered)
Ail = & A->blocks[b_row*KB + b_aisle];
if (Ail->registered)
starpu_mpi_cache_flush(MPI_COMM_WORLD, *Ail->hdl);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment