MAGMA  2.1.0
Matrix Algebra for GPU and Multicore Architectures

\( 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_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_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_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...
 

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_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_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_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.