MAGMA  2.7.1
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages

\( B = A \) More...

Functions

void magmablas_clacpy_batched (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaFloatComplex_const_ptr const dAarray[], magma_int_t ldda, magmaFloatComplex_ptr dBarray[], magma_int_t lddb, magma_int_t batchCount, magma_queue_t queue)
 CLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_clacpy_vbatched (magma_uplo_t uplo, magma_int_t max_m, magma_int_t max_n, magma_int_t *m, magma_int_t *n, magmaFloatComplex const *const *dAarray, magma_int_t *ldda, magmaFloatComplex **dBarray, magma_int_t *lddb, magma_int_t batchCount, magma_queue_t queue)
 CLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_dlacpy_batched (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaDouble_const_ptr const dAarray[], magma_int_t ldda, magmaDouble_ptr dBarray[], magma_int_t lddb, magma_int_t batchCount, magma_queue_t queue)
 DLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_dlacpy_vbatched (magma_uplo_t uplo, magma_int_t max_m, magma_int_t max_n, magma_int_t *m, magma_int_t *n, double const *const *dAarray, magma_int_t *ldda, double **dBarray, magma_int_t *lddb, magma_int_t batchCount, magma_queue_t queue)
 DLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_slacpy_batched (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaFloat_const_ptr const dAarray[], magma_int_t ldda, magmaFloat_ptr dBarray[], magma_int_t lddb, magma_int_t batchCount, magma_queue_t queue)
 SLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_slacpy_vbatched (magma_uplo_t uplo, magma_int_t max_m, magma_int_t max_n, magma_int_t *m, magma_int_t *n, float const *const *dAarray, magma_int_t *ldda, float **dBarray, magma_int_t *lddb, magma_int_t batchCount, magma_queue_t queue)
 SLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_zlacpy_batched (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr const dAarray[], magma_int_t ldda, magmaDoubleComplex_ptr dBarray[], magma_int_t lddb, magma_int_t batchCount, magma_queue_t queue)
 ZLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 
void magmablas_zlacpy_vbatched (magma_uplo_t uplo, magma_int_t max_m, magma_int_t max_n, magma_int_t *m, magma_int_t *n, magmaDoubleComplex const *const *dAarray, magma_int_t *ldda, magmaDoubleComplex **dBarray, magma_int_t *lddb, magma_int_t batchCount, magma_queue_t queue)
 ZLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount. More...
 

Detailed Description

\( B = A \)

Function Documentation

void magmablas_clacpy_batched ( magma_uplo_t  uplo,
magma_int_t  m,
magma_int_t  n,
magmaFloatComplex_const_ptr const  dAarray[],
magma_int_t  ldda,
magmaFloatComplex_ptr  dBarray[],
magma_int_t  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

CLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]mINTEGER The number of rows of each matrix dA. M >= 0.
[in]nINTEGER The number of columns of each matrix dA. N >= 0.
[in]dAarrayCOMPLEX* array, dimension (batchCount) Array of pointers to the matrices dA, where each dA is of dimension (LDDA,N). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER The leading dimension of each array dA. LDDA >= max(1,M).
[out]dBarrayCOMPLEX* array, dimension (batchCount) Array of pointers to the matrices dB, where each dB is of dimension (LDDB,N). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER The leading dimension of each array dB. LDDB >= max(1,M).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_clacpy_vbatched ( magma_uplo_t  uplo,
magma_int_t  max_m,
magma_int_t  max_n,
magma_int_t *  m,
magma_int_t *  n,
magmaFloatComplex const *const *  dAarray,
magma_int_t *  ldda,
magmaFloatComplex **  dBarray,
magma_int_t *  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

CLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Matrices are assumed to generally have different sizes/leading dimensions

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]max_mINTEGER. maximum value of m.
[in]max_nINTEGER. maximum value of n.
[in]mINTEGER array, dimension (batchCount). Each is the number of rows of each matrix dA. M >= 0.
[in]nINTEGER array, dimension (batchCount). The number of columns of each matrix dA. N >= 0.
[in]dAarrayArray of pointers , dimension (batchCount) Each is a COMPLEX array dA, where the ith matrix dA is of dimension (ldda[i],n[i]). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER array, dimension (batchCount). Each is the leading dimension of each array dA. For the ith matrix dA ldda[i] >= max(1,m[i]).
[out]dBarrayArray of pointers, dimension(batchCount). Each is a COMPLEX array dB, where the ith matrix dB is of dimension (lddb[i],n[i]). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER array, dimension (batchCount). Each is the leading dimension of each array dB. For the ith matrix dB lddb[i] >= max(1,m[i]).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_dlacpy_batched ( magma_uplo_t  uplo,
magma_int_t  m,
magma_int_t  n,
magmaDouble_const_ptr const  dAarray[],
magma_int_t  ldda,
magmaDouble_ptr  dBarray[],
magma_int_t  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

DLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]mINTEGER The number of rows of each matrix dA. M >= 0.
[in]nINTEGER The number of columns of each matrix dA. N >= 0.
[in]dAarrayDOUBLE PRECISION* array, dimension (batchCount) Array of pointers to the matrices dA, where each dA is of dimension (LDDA,N). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER The leading dimension of each array dA. LDDA >= max(1,M).
[out]dBarrayDOUBLE PRECISION* array, dimension (batchCount) Array of pointers to the matrices dB, where each dB is of dimension (LDDB,N). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER The leading dimension of each array dB. LDDB >= max(1,M).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_dlacpy_vbatched ( magma_uplo_t  uplo,
magma_int_t  max_m,
magma_int_t  max_n,
magma_int_t *  m,
magma_int_t *  n,
double const *const *  dAarray,
magma_int_t *  ldda,
double **  dBarray,
magma_int_t *  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

DLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Matrices are assumed to generally have different sizes/leading dimensions

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]max_mINTEGER. maximum value of m.
[in]max_nINTEGER. maximum value of n.
[in]mINTEGER array, dimension (batchCount). Each is the number of rows of each matrix dA. M >= 0.
[in]nINTEGER array, dimension (batchCount). The number of columns of each matrix dA. N >= 0.
[in]dAarrayArray of pointers , dimension (batchCount) Each is a DOUBLE PRECISION array dA, where the ith matrix dA is of dimension (ldda[i],n[i]). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER array, dimension (batchCount). Each is the leading dimension of each array dA. For the ith matrix dA ldda[i] >= max(1,m[i]).
[out]dBarrayArray of pointers, dimension(batchCount). Each is a DOUBLE PRECISION array dB, where the ith matrix dB is of dimension (lddb[i],n[i]). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER array, dimension (batchCount). Each is the leading dimension of each array dB. For the ith matrix dB lddb[i] >= max(1,m[i]).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_slacpy_batched ( magma_uplo_t  uplo,
magma_int_t  m,
magma_int_t  n,
magmaFloat_const_ptr const  dAarray[],
magma_int_t  ldda,
magmaFloat_ptr  dBarray[],
magma_int_t  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

SLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]mINTEGER The number of rows of each matrix dA. M >= 0.
[in]nINTEGER The number of columns of each matrix dA. N >= 0.
[in]dAarrayREAL* array, dimension (batchCount) Array of pointers to the matrices dA, where each dA is of dimension (LDDA,N). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER The leading dimension of each array dA. LDDA >= max(1,M).
[out]dBarrayREAL* array, dimension (batchCount) Array of pointers to the matrices dB, where each dB is of dimension (LDDB,N). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER The leading dimension of each array dB. LDDB >= max(1,M).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_slacpy_vbatched ( magma_uplo_t  uplo,
magma_int_t  max_m,
magma_int_t  max_n,
magma_int_t *  m,
magma_int_t *  n,
float const *const *  dAarray,
magma_int_t *  ldda,
float **  dBarray,
magma_int_t *  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

SLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Matrices are assumed to generally have different sizes/leading dimensions

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]max_mINTEGER. maximum value of m.
[in]max_nINTEGER. maximum value of n.
[in]mINTEGER array, dimension (batchCount). Each is the number of rows of each matrix dA. M >= 0.
[in]nINTEGER array, dimension (batchCount). The number of columns of each matrix dA. N >= 0.
[in]dAarrayArray of pointers , dimension (batchCount) Each is a REAL array dA, where the ith matrix dA is of dimension (ldda[i],n[i]). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER array, dimension (batchCount). Each is the leading dimension of each array dA. For the ith matrix dA ldda[i] >= max(1,m[i]).
[out]dBarrayArray of pointers, dimension(batchCount). Each is a REAL array dB, where the ith matrix dB is of dimension (lddb[i],n[i]). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER array, dimension (batchCount). Each is the leading dimension of each array dB. For the ith matrix dB lddb[i] >= max(1,m[i]).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_zlacpy_batched ( magma_uplo_t  uplo,
magma_int_t  m,
magma_int_t  n,
magmaDoubleComplex_const_ptr const  dAarray[],
magma_int_t  ldda,
magmaDoubleComplex_ptr  dBarray[],
magma_int_t  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

ZLACPY_BATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]mINTEGER The number of rows of each matrix dA. M >= 0.
[in]nINTEGER The number of columns of each matrix dA. N >= 0.
[in]dAarrayCOMPLEX_16* array, dimension (batchCount) Array of pointers to the matrices dA, where each dA is of dimension (LDDA,N). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER The leading dimension of each array dA. LDDA >= max(1,M).
[out]dBarrayCOMPLEX_16* array, dimension (batchCount) Array of pointers to the matrices dB, where each dB is of dimension (LDDB,N). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER The leading dimension of each array dB. LDDB >= max(1,M).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.
void magmablas_zlacpy_vbatched ( magma_uplo_t  uplo,
magma_int_t  max_m,
magma_int_t  max_n,
magma_int_t *  m,
magma_int_t *  n,
magmaDoubleComplex const *const *  dAarray,
magma_int_t *  ldda,
magmaDoubleComplex **  dBarray,
magma_int_t *  lddb,
magma_int_t  batchCount,
magma_queue_t  queue 
)

ZLACPY_VBATCHED copies all or part of each two-dimensional matrix dAarray[i] to matrix dBarray[i], for 0 <= i < batchcount.

Matrices are assumed to generally have different sizes/leading dimensions

Parameters
[in]uplomagma_uplo_t Specifies the part of each matrix dA to be copied to dB.
  • = MagmaUpper: Upper triangular part
  • = MagmaLower: Lower triangular part Otherwise: All of each matrix dA
[in]max_mINTEGER. maximum value of m.
[in]max_nINTEGER. maximum value of n.
[in]mINTEGER array, dimension (batchCount). Each is the number of rows of each matrix dA. M >= 0.
[in]nINTEGER array, dimension (batchCount). The number of columns of each matrix dA. N >= 0.
[in]dAarrayArray of pointers , dimension (batchCount) Each is a COMPLEX_16 array dA, where the ith matrix dA is of dimension (ldda[i],n[i]). The M-by-N matrix dA. If UPLO = MagmaUpper, only the upper triangle or trapezoid is accessed; if UPLO = MagmaLower, only the lower triangle or trapezoid is accessed.
[in]lddaINTEGER array, dimension (batchCount). Each is the leading dimension of each array dA. For the ith matrix dA ldda[i] >= max(1,m[i]).
[out]dBarrayArray of pointers, dimension(batchCount). Each is a COMPLEX_16 array dB, where the ith matrix dB is of dimension (lddb[i],n[i]). The M-by-N matrix dB. On exit, dB = dA in the locations specified by UPLO.
[in]lddbINTEGER array, dimension (batchCount). Each is the leading dimension of each array dB. For the ith matrix dB lddb[i] >= max(1,m[i]).
[in]batchCountNumber of matrices in dAarray and dBarray.
[in]queuemagma_queue_t Queue to execute in.