Commit 90bbbaf9 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Wait for the ctrb to be all applied (static version is now working)

parent 742655cc
......@@ -79,6 +79,9 @@ thread_pzgetrf( int rank, void *args )
t = datacode->tasktab + i;
cblk = datacode->cblktab + t->cblknum;
/* Wait */
do {} while( cblk->ctrbcnt );
/* Compute */
core_zgetrfsp1d( datacode, cblk, sopalin_data->diagthreshold, work );
}
......
......@@ -81,6 +81,9 @@ thread_pzhetrf( int rank, void *args )
t = datacode->tasktab + i;
cblk = datacode->cblktab + t->cblknum;
/* Wait */
do {} while( cblk->ctrbcnt );
/* Compute */
core_zhetrfsp1d( datacode, cblk, sopalin_data->diagthreshold,
work1, work2 );
......
......@@ -79,6 +79,9 @@ thread_pzpotrf( int rank, void *args )
t = datacode->tasktab + i;
cblk = datacode->cblktab + t->cblknum;
/* Wait */
do {} while( cblk->ctrbcnt );
/* Compute */
core_zpotrfsp1d( datacode, cblk, sopalin_data->diagthreshold, work );
}
......
......@@ -81,6 +81,9 @@ thread_pzsytrf( int rank, void *args )
t = datacode->tasktab + i;
cblk = datacode->cblktab + t->cblknum;
/* Wait */
do {} while( cblk->ctrbcnt );
/* Compute */
core_zsytrfsp1d( datacode, cblk, sopalin_data->diagthreshold,
work1, work2 );
......
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