Developer Reference for Intel® oneAPI Math Kernel Library for C
?trbr2d
Receives and participates in a broadcast along a scope for a trapezoidal matrix.
Syntax
void itrbr2d(const MKL_INT *contxt, const char *scope, const char *top, const char *uplo,
const char *diag, const MKL_INT *m, const MKL_INT *n, MKL_INT *a, const MKL_INT *lda,
const MKL_INT *rsrc, const MKL_INT *csrc);
void strbr2d(const MKL_INT *contxt, const char *scope, const char *top, const char *uplo,
const char *diag, const MKL_INT *m, const MKL_INT *n, float *a, const MKL_INT *lda,
const MKL_INT *rsrc, const MKL_INT *csrc);
void dtrbr2d(const MKL_INT *contxt, const char *scope, const char *top, const char *uplo,
const char *diag, const MKL_INT *m, const MKL_INT *n, double *a, const MKL_INT *lda,
const MKL_INT *rsrc, const MKL_INT *csrc);
void ctrbr2d(const MKL_INT *contxt, const char *scope, const char *top, const char *uplo,
const char *diag, const MKL_INT *m, const MKL_INT *n, float *a, const MKL_INT *lda,
const MKL_INT *rsrc, const MKL_INT *csrc);
void ztrbr2d(const MKL_INT *contxt, const char *scope, const char *top, const char *uplo,
const char *diag, 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.
- uplo , diag , 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 trapezoidal 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).