PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
void CORE_cplrnt ( int  m,
int  n,
PLASMA_Complex32_t *  A,
int  lda,
int  gM,
int  m0,
int  n0,
unsigned long long int  seed 
)

CORE_cplrnt generates a random tile.

Parameters
[in]mThe number of rows of the tile A. m >= 0.
[in]nThe number of columns of the tile A. n >= 0.
[in,out]AOn entry, the m-by-n tile to be initialized. On exit, the tile initialized in the mtxtype format.
[in]ldaThe leading dimension of the tile A. lda >= max(1,m).
[in]gMThe global number of rows of the full matrix, A is belonging to. gM >= (m0+M).
[in]m0The index of the first row of tile A in the full matrix. m0 >= 0.
[in]n0The index of the first column of tile A in the full matrix. n0 >= 0.
[in]seedThe seed used for random generation. Must be the same for all tiles initialized with this routine.