![]() |
MAGMA
2.0.2
Matrix Algebra for GPU and Multicore Architectures
|
Functions | |
magma_int_t | magma_znan_inf (magma_uplo_t uplo, magma_int_t m, magma_int_t n, const magmaDoubleComplex *A, magma_int_t lda, magma_int_t *cnt_nan, magma_int_t *cnt_inf) |
magma_znan_inf checks a matrix that is located on the CPU host for NAN (not-a-number) and INF (infinity) values. More... | |
magma_int_t | magma_znan_inf_gpu (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magma_int_t *cnt_nan, magma_int_t *cnt_inf) |
magma_znan_inf checks a matrix that is located on the CPU host for NAN (not-a-number) and INF (infinity) values. More... | |
void | magma_zprint (magma_int_t m, magma_int_t n, const magmaDoubleComplex *A, magma_int_t lda) |
magma_zprint prints a matrix that is located on the CPU host. More... | |
void | magma_zprint_gpu (magma_int_t m, magma_int_t n, const magmaDoubleComplex *dA, magma_int_t ldda) |
magma_zprint_gpu prints a matrix that is located on the GPU device. More... | |
void | magmablas_zgeadd (magma_int_t m, magma_int_t n, magmaDoubleComplex alpha, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex_ptr dB, magma_int_t lddb) |
void | magmablas_zgeadd2 (magma_int_t m, magma_int_t n, magmaDoubleComplex alpha, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex beta, magmaDoubleComplex_ptr dB, magma_int_t lddb) |
void | magmablas_zprbt (magma_int_t n, magmaDoubleComplex *dA, magma_int_t ldda, magmaDoubleComplex *du, magmaDoubleComplex *dv) |
void | magmablas_zprbt_mv (magma_int_t n, magmaDoubleComplex *dv, magmaDoubleComplex *db) |
void | magmablas_zprbt_mtv (magma_int_t n, magmaDoubleComplex *du, magmaDoubleComplex *db) |
void | magmablas_zlacpy (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex_ptr dB, magma_int_t lddb) |
void | magmablas_zlacpy_conj (magma_int_t n, magmaDoubleComplex_ptr dA1, magma_int_t lda1, magmaDoubleComplex_ptr dA2, magma_int_t lda2) |
void | magmablas_zlacpy_sym_in (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magma_int_t *rows, magma_int_t *perm, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex_ptr dB, magma_int_t lddb) |
void | magmablas_zlacpy_sym_out (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magma_int_t *rows, magma_int_t *perm, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex_ptr dB, magma_int_t lddb) |
double | magmablas_zlange (magma_norm_t norm, magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDouble_ptr dwork, magma_int_t lwork) |
double | magmablas_zlanhe (magma_norm_t norm, magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDouble_ptr dwork, magma_int_t lwork) |
void | magmablas_zlascl (magma_type_t type, magma_int_t kl, magma_int_t ku, double cfrom, double cto, magma_int_t m, magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t *info) |
void | magmablas_zlascl2 (magma_type_t type, magma_int_t m, magma_int_t n, magmaDouble_const_ptr dD, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t *info) |
void | magmablas_zlascl_2x2 (magma_type_t type, magma_int_t m, magmaDoubleComplex_const_ptr dW, magma_int_t lddw, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t *info) |
void | magmablas_zlascl_diag (magma_type_t type, magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr dD, magma_int_t lddd, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t *info) |
void | magmablas_zlaset (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magmaDoubleComplex offdiag, magmaDoubleComplex diag, magmaDoubleComplex_ptr dA, magma_int_t ldda) |
void | magmablas_zlaset_band (magma_uplo_t uplo, magma_int_t m, magma_int_t n, magma_int_t k, magmaDoubleComplex offdiag, magmaDoubleComplex diag, magmaDoubleComplex_ptr dA, magma_int_t ldda) |
void | magmablas_zlaswp (magma_int_t n, magmaDoubleComplex_ptr dAT, magma_int_t ldda, magma_int_t k1, magma_int_t k2, const magma_int_t *ipiv, magma_int_t inci) |
void | magmablas_zlaswpx (magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldx, magma_int_t ldy, magma_int_t k1, magma_int_t k2, const magma_int_t *ipiv, magma_int_t inci) |
void | magmablas_zlaswp2 (magma_int_t n, magmaDoubleComplex_ptr dAT, magma_int_t ldda, magma_int_t k1, magma_int_t k2, magmaInt_const_ptr d_ipiv, magma_int_t inci) |
void | magmablas_zlaswp_sym (magma_int_t n, magmaDoubleComplex *dA, magma_int_t lda, magma_int_t k1, magma_int_t k2, const magma_int_t *ipiv, magma_int_t inci) |
void | magmablas_dznrm2_check (magma_int_t m, magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda, magmaDouble_ptr dxnorm, magmaDouble_ptr dlsticc) |
void | magmablas_dznrm2_adjust (magma_int_t k, magmaDouble_ptr dxnorm, magmaDoubleComplex_ptr dc) |
void | magmablas_dznrm2_row_check_adjust (magma_int_t k, double tol, magmaDouble_ptr dxnorm, magmaDouble_ptr dxnorm2, magmaDoubleComplex_ptr dC, magma_int_t lddc, magmaDouble_ptr dlsticc) |
void | magmablas_dznrm2_cols (magma_int_t m, magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda, magmaDouble_ptr dxnorm) |
void | magmablas_zswapdblk (magma_int_t n, magma_int_t nb, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t inca, magmaDoubleComplex_ptr dB, magma_int_t lddb, magma_int_t incb) |
void | magmablas_zsymmetrize (magma_uplo_t uplo, magma_int_t m, magmaDoubleComplex_ptr dA, magma_int_t ldda) |
void | magmablas_zsymmetrize_tiles (magma_uplo_t uplo, magma_int_t m, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t ntile, magma_int_t mstride, magma_int_t nstride) |
void | magmablas_ztranspose (magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex_ptr dAT, magma_int_t lddat) |
void | magmablas_ztranspose_conj (magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, magmaDoubleComplex_ptr dAT, magma_int_t lddat) |
void | magmablas_ztranspose_conj_inplace (magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda) |
void | magmablas_ztranspose_inplace (magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda) |
void | magmablas_clat2z (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex_const_ptr SA, magma_int_t ldsa, magmaDoubleComplex_ptr A, magma_int_t lda, magma_int_t *info) |
void | magmablas_zlag2c (magma_int_t m, magma_int_t n, magmaDoubleComplex_const_ptr A, magma_int_t lda, magmaFloatComplex_ptr SA, magma_int_t ldsa, magma_int_t *info) |
void | magmablas_zlat2c (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex_const_ptr A, magma_int_t lda, magmaFloatComplex_ptr SA, magma_int_t ldsa, magma_int_t *info) |
void | magmablas_zclaswp (magma_int_t n, magmaDoubleComplex_ptr A, magma_int_t lda, magmaFloatComplex_ptr SA, magma_int_t m, const magma_int_t *ipiv, magma_int_t incx) |
Note magmablas_zclaswp_q also adds ldsa. More... | |
magma_int_t magma_znan_inf | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda, | ||
magma_int_t * | cnt_nan, | ||
magma_int_t * | cnt_inf | ||
) |
magma_znan_inf checks a matrix that is located on the CPU host for NAN (not-a-number) and INF (infinity) values.
NAN is created by 0/0 and similar. INF is created by x/0 and similar, where x != 0.
[in] | uplo | magma_uplo_t Specifies what part of the matrix A to check.
|
[in] | m | INTEGER The number of rows of the matrix A. M >= 0. |
[in] | n | INTEGER The number of columns of the matrix A. N >= 0. |
[in] | A | COMPLEX_16 array, dimension (LDA,N), on the CPU host. The M-by-N matrix to be printed. |
[in] | lda | INTEGER The leading dimension of the array A. LDA >= max(1,M). |
[out] | cnt_nan | INTEGER* If non-NULL, on exit contains the number of NAN values in A. |
[out] | cnt_inf | INTEGER* If non-NULL, on exit contains the number of INF values in A. |
magma_int_t magma_znan_inf_gpu | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t * | cnt_nan, | ||
magma_int_t * | cnt_inf | ||
) |
magma_znan_inf checks a matrix that is located on the CPU host for NAN (not-a-number) and INF (infinity) values.
NAN is created by 0/0 and similar. INF is created by x/0 and similar, where x != 0.
[in] | uplo | magma_uplo_t Specifies what part of the matrix A to check.
|
[in] | m | INTEGER The number of rows of the matrix A. M >= 0. |
[in] | n | INTEGER The number of columns of the matrix A. N >= 0. |
[in] | dA | COMPLEX_16 array, dimension (LDDA,N), on the GPU device. The M-by-N matrix to be printed. |
[in] | ldda | INTEGER The leading dimension of the array A. LDDA >= max(1,M). |
[out] | cnt_nan | INTEGER* If non-NULL, on exit contains the number of NAN values in A. |
[out] | cnt_inf | INTEGER* If non-NULL, on exit contains the number of INF values in A. |
void magma_zprint | ( | magma_int_t | m, |
magma_int_t | n, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda | ||
) |
magma_zprint prints a matrix that is located on the CPU host.
The output is intended to be Matlab compatible, to be useful in debugging.
[in] | m | INTEGER The number of rows of the matrix A. M >= 0. |
[in] | n | INTEGER The number of columns of the matrix A. N >= 0. |
[in] | A | COMPLEX_16 array, dimension (LDA,N), on the CPU host. The M-by-N matrix to be printed. |
[in] | lda | INTEGER The leading dimension of the array A. LDA >= max(1,M). |
void magma_zprint_gpu | ( | magma_int_t | m, |
magma_int_t | n, | ||
const magmaDoubleComplex * | dA, | ||
magma_int_t | ldda | ||
) |
magma_zprint_gpu prints a matrix that is located on the GPU device.
Internally, it allocates CPU memory and copies the matrix to the CPU. The output is intended to be Matlab compatible, to be useful in debugging.
[in] | m | INTEGER The number of rows of the matrix A. M >= 0. |
[in] | n | INTEGER The number of columns of the matrix A. N >= 0. |
[in] | dA | COMPLEX_16 array, dimension (LDDA,N), on the GPU device. The M-by-N matrix to be printed. |
[in] | ldda | INTEGER The leading dimension of the array A. LDDA >= max(1,M). |
void magmablas_clat2z | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex_const_ptr | SA, | ||
magma_int_t | ldsa, | ||
magmaDoubleComplex_ptr | A, | ||
magma_int_t | lda, | ||
magma_int_t * | info | ||
) |
void magmablas_dznrm2_adjust | ( | magma_int_t | k, |
magmaDouble_ptr | dxnorm, | ||
magmaDoubleComplex_ptr | dc | ||
) |
void magmablas_dznrm2_check | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDouble_ptr | dxnorm, | ||
magmaDouble_ptr | dlsticc | ||
) |
void magmablas_dznrm2_cols | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDouble_ptr | dxnorm | ||
) |
void magmablas_dznrm2_row_check_adjust | ( | magma_int_t | k, |
double | tol, | ||
magmaDouble_ptr | dxnorm, | ||
magmaDouble_ptr | dxnorm2, | ||
magmaDoubleComplex_ptr | dC, | ||
magma_int_t | lddc, | ||
magmaDouble_ptr | dlsticc | ||
) |
void magmablas_zclaswp | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | A, | ||
magma_int_t | lda, | ||
magmaFloatComplex_ptr | SA, | ||
magma_int_t | m, | ||
const magma_int_t * | ipiv, | ||
magma_int_t | incx | ||
) |
Note magmablas_zclaswp_q also adds ldsa.
This assumes ldsa = lda.
void magmablas_zgeadd | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex_ptr | dB, | ||
magma_int_t | lddb | ||
) |
void magmablas_zgeadd2 | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex_ptr | dB, | ||
magma_int_t | lddb | ||
) |
void magmablas_zlacpy | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex_ptr | dB, | ||
magma_int_t | lddb | ||
) |
void magmablas_zlacpy_conj | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | dA1, | ||
magma_int_t | lda1, | ||
magmaDoubleComplex_ptr | dA2, | ||
magma_int_t | lda2 | ||
) |
void magmablas_zlacpy_sym_in | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magma_int_t * | rows, | ||
magma_int_t * | perm, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex_ptr | dB, | ||
magma_int_t | lddb | ||
) |
void magmablas_zlacpy_sym_out | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magma_int_t * | rows, | ||
magma_int_t * | perm, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex_ptr | dB, | ||
magma_int_t | lddb | ||
) |
void magmablas_zlag2c | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | A, | ||
magma_int_t | lda, | ||
magmaFloatComplex_ptr | SA, | ||
magma_int_t | ldsa, | ||
magma_int_t * | info | ||
) |
double magmablas_zlange | ( | magma_norm_t | norm, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDouble_ptr | dwork, | ||
magma_int_t | lwork | ||
) |
double magmablas_zlanhe | ( | magma_norm_t | norm, |
magma_uplo_t | uplo, | ||
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDouble_ptr | dwork, | ||
magma_int_t | lwork | ||
) |
void magmablas_zlascl | ( | magma_type_t | type, |
magma_int_t | kl, | ||
magma_int_t | ku, | ||
double | cfrom, | ||
double | cto, | ||
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t * | info | ||
) |
void magmablas_zlascl2 | ( | magma_type_t | type, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDouble_const_ptr | dD, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t * | info | ||
) |
void magmablas_zlascl_2x2 | ( | magma_type_t | type, |
magma_int_t | m, | ||
magmaDoubleComplex_const_ptr | dW, | ||
magma_int_t | lddw, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t * | info | ||
) |
void magmablas_zlascl_diag | ( | magma_type_t | type, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dD, | ||
magma_int_t | lddd, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t * | info | ||
) |
void magmablas_zlaset | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaDoubleComplex | offdiag, | ||
magmaDoubleComplex | diag, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
void magmablas_zlaset_band | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magma_int_t | k, | ||
magmaDoubleComplex | offdiag, | ||
magmaDoubleComplex | diag, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
void magmablas_zlaswp | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | dAT, | ||
magma_int_t | ldda, | ||
magma_int_t | k1, | ||
magma_int_t | k2, | ||
const magma_int_t * | ipiv, | ||
magma_int_t | inci | ||
) |
void magmablas_zlaswp2 | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | dAT, | ||
magma_int_t | ldda, | ||
magma_int_t | k1, | ||
magma_int_t | k2, | ||
magmaInt_const_ptr | d_ipiv, | ||
magma_int_t | inci | ||
) |
void magmablas_zlaswp_sym | ( | magma_int_t | n, |
magmaDoubleComplex * | dA, | ||
magma_int_t | lda, | ||
magma_int_t | k1, | ||
magma_int_t | k2, | ||
const magma_int_t * | ipiv, | ||
magma_int_t | inci | ||
) |
void magmablas_zlaswpx | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldx, | ||
magma_int_t | ldy, | ||
magma_int_t | k1, | ||
magma_int_t | k2, | ||
const magma_int_t * | ipiv, | ||
magma_int_t | inci | ||
) |
void magmablas_zlat2c | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | A, | ||
magma_int_t | lda, | ||
magmaFloatComplex_ptr | SA, | ||
magma_int_t | ldsa, | ||
magma_int_t * | info | ||
) |
void magmablas_zprbt | ( | magma_int_t | n, |
magmaDoubleComplex * | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex * | du, | ||
magmaDoubleComplex * | dv | ||
) |
void magmablas_zprbt_mtv | ( | magma_int_t | n, |
magmaDoubleComplex * | du, | ||
magmaDoubleComplex * | db | ||
) |
void magmablas_zprbt_mv | ( | magma_int_t | n, |
magmaDoubleComplex * | dv, | ||
magmaDoubleComplex * | db | ||
) |
void magmablas_zswapdblk | ( | magma_int_t | n, |
magma_int_t | nb, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t | inca, | ||
magmaDoubleComplex_ptr | dB, | ||
magma_int_t | lddb, | ||
magma_int_t | incb | ||
) |
void magmablas_zsymmetrize | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
void magmablas_zsymmetrize_tiles | ( | magma_uplo_t | uplo, |
magma_int_t | m, | ||
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_int_t | ntile, | ||
magma_int_t | mstride, | ||
magma_int_t | nstride | ||
) |
void magmablas_ztranspose | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex_ptr | dAT, | ||
magma_int_t | lddat | ||
) |
void magmablas_ztranspose_conj | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaDoubleComplex_ptr | dAT, | ||
magma_int_t | lddat | ||
) |
void magmablas_ztranspose_conj_inplace | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
void magmablas_ztranspose_inplace | ( | magma_int_t | n, |
magmaDoubleComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |