24 #include "hicma_common.h" 27 #include "starsh-spatial.h" 28 #include "starsh-randtlr.h" 30 #include <lapacke_utils.h> 32 #include "coreblas/coreblas.h" 33 #include "coreblas/lapacke.h" 35 extern void _printmat(
double *
A,
int m,
int n,
int ld);
46 struct timeval tvalBefore, tvalAfter;
47 gettimeofday (&tvalBefore, NULL);
49 fprintf(stderr,
"%d+HAGDM\t|(%d,%d) m:%d n:%d ld:%d\n",MORSE_My_Mpi_Rank(),
50 tile_row_index, tile_col_index,
51 nrows_Dense, ncols_Dense, ld_Dense);
54 void *RD = RC->data, *CD = RD;
56 RC->pivot+RC->start[tile_row_index],
57 CC->pivot+CC->start[tile_col_index],
58 RD, CD, Dense, ld_Dense);
60 printf(
"%d\tHAGDM-DENSE-output\n", __LINE__);
61 _printmat(Dense, nrows_Dense, ncols_Dense, ld_Dense);
64 gettimeofday (&tvalAfter, NULL);
65 fprintf(stderr,
"%d-HAGDM\t|(%d,%d) m:%d n:%d ld:%d\t\t\t\t\tHAGDM: %.4f\n",
67 tile_row_index, tile_col_index,
68 nrows_Dense, ncols_Dense, ld_Dense,
69 (tvalAfter.tv_sec - tvalBefore.tv_sec)
70 +(tvalAfter.tv_usec - tvalBefore.tv_usec)/1000000.0
void _printmat(double *A, int m, int n, int ld)
int HICMA_get_print_mat()
int HICMA_get_print_index_end()
void HCORE_zhagdm(int nrows_Dense, int ncols_Dense, double *Dense, int ld_Dense, int tile_row_index, int tile_col_index)
int HICMA_get_print_index()
STARSH_blrf * HICMA_get_starsh_format()