Search:

HPL_numroc(3) HPL Library Functions HPL_numroc(3)## NAME

HPL_numroc - Compute the local number of row/columns.## SYNOPSIS

#include"hpl.h"intHPL_numroc(constintN,constintINB,constintNB,constintPROC,constintSRCPROC,constintNPROCS);## DESCRIPTION

HPL_numrocreturns the local number of matrix rows/columns process PROC will get if we give out N rows/columns starting from global index 0.## ARGUMENTS

N (input) const int On entry, N specifies the number of rows/columns being dealt out. N must be at least zero. INB (input) const int On entry, INB specifies the size of the first block of the global matrix. INB must be at least one. NB (input) const int On entry, NB specifies the blocking factor used to partition and distribute the matrix A. NB must be larger than one. PROC (input) const int On entry, PROC specifies the coordinate of the process whose local portion is determined. PROC must be at least zero and strictly less than NPROCS. SRCPROC (input) const int On entry, SRCPROC specifies the coordinate of the process that possesses the first row or column of the matrix. SRCPROC must be at least zero and strictly less than NPROCS. NPROCS (input) const int On entry, NPROCS specifies the total number of process rows or columns over which the matrix is distributed. NPROCS must be at least one.## SEE ALSO

HPL_indxg2l(3),HPL_indxg2lp(3),HPL_indxg2p(3),HPL_indxl2g(3),HPL_numrocI(3). HPL 2.1 October 26, 2012 HPL_numroc(3)

Search: