Developer Reference for Intel® oneAPI Math Kernel Library for C
?gebr2d
Receives and participates in a broadcast along a scope for a general rectangular matrix.
Syntax
void igebr2d(const MKL_INT *contxt, const char *scope, const char *top, const MKL_INT *m,
const MKL_INT *n, MKL_INT *a, const MKL_INT *lda, const MKL_INT *rsrc, const MKL_INT *csrc);
void sgebr2d(const MKL_INT *contxt, const char *scope, const char *top, const MKL_INT *m,
const MKL_INT *n, float *a, const MKL_INT *lda, const MKL_INT *rsrc, const MKL_INT *csrc);
void dgebr2d(const MKL_INT *contxt, const char *scope, const char *top, const MKL_INT *m,
const MKL_INT *n, double *a, const MKL_INT *lda, const MKL_INT *rsrc, const MKL_INT *csrc);
void cgebr2d(const MKL_INT *contxt, const char *scope, const char *top, const MKL_INT *m,
const MKL_INT *n, float *a, const MKL_INT *lda, const MKL_INT *rsrc, const MKL_INT *csrc);
void zgebr2d(const MKL_INT *contxt, const char *scope, const char *top, const MKL_INT *m,
const MKL_INT *n, double *a, const MKL_INT *lda, const MKL_INT *rsrc, const MKL_INT *csrc);
Input Parameters
icontxt
Integer handle that indicates the context.
scope
Indicates what scope the broadcast should proceed on. Limited to ‘Row’, ‘Column’, or ‘All’.
top
Indicates the communication pattern to use for the broadcast.
m , n , lda
Describe the matrix to be sent. See Matrix Shapes for details.
rsrc
The process row coordinate of the process that called broadcast/send.
csrc
The process column coordinate of the process that called broadcast/send.
Output Parameters
- a
-
An array of dimension (lda,n) to receive the incoming message into.
Description
This routine receives and participates in a broadcast along a scope. At the end of a broadcast, all processes within the scope will possess the data in the general rectangular matrix A . Broadcasts may be globally-blocking. This means no process is guaranteed to return from a broadcast until all processes in the scope have called the appropriate routine (broadcast/send or broadcast/receive).