![]() |
MAGMA
2.1.0
Matrix Algebra for GPU and Multicore Architectures
|
Functions | |
void | magma_cprint (magma_int_t m, magma_int_t n, const magmaFloatComplex *A, magma_int_t lda) |
magma_cprint prints a matrix that is located on the CPU host. More... | |
void | magma_cprint_gpu (magma_int_t m, magma_int_t n, const magmaFloatComplex *dA, magma_int_t ldda) |
magma_cprint_gpu prints a matrix that is located on the GPU device. More... | |
void | magma_dprint (magma_int_t m, magma_int_t n, const double *A, magma_int_t lda) |
magma_dprint prints a matrix that is located on the CPU host. More... | |
void | magma_dprint_gpu (magma_int_t m, magma_int_t n, const double *dA, magma_int_t ldda) |
magma_dprint_gpu prints a matrix that is located on the GPU device. More... | |
void | magma_sprint (magma_int_t m, magma_int_t n, const float *A, magma_int_t lda) |
magma_sprint prints a matrix that is located on the CPU host. More... | |
void | magma_sprint_gpu (magma_int_t m, magma_int_t n, const float *dA, magma_int_t ldda) |
magma_sprint_gpu prints a matrix that is located on the GPU device. 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 magma_cprint | ( | magma_int_t | m, |
magma_int_t | n, | ||
const magmaFloatComplex * | A, | ||
magma_int_t | lda | ||
) |
magma_cprint 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 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_cprint_gpu | ( | magma_int_t | m, |
magma_int_t | n, | ||
const magmaFloatComplex * | dA, | ||
magma_int_t | ldda | ||
) |
magma_cprint_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 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 magma_dprint | ( | magma_int_t | m, |
magma_int_t | n, | ||
const double * | A, | ||
magma_int_t | lda | ||
) |
magma_dprint 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 | DOUBLE PRECISION 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_dprint_gpu | ( | magma_int_t | m, |
magma_int_t | n, | ||
const double * | dA, | ||
magma_int_t | ldda | ||
) |
magma_dprint_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 | DOUBLE PRECISION 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 magma_sprint | ( | magma_int_t | m, |
magma_int_t | n, | ||
const float * | A, | ||
magma_int_t | lda | ||
) |
magma_sprint 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 | REAL 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_sprint_gpu | ( | magma_int_t | m, |
magma_int_t | n, | ||
const float * | dA, | ||
magma_int_t | ldda | ||
) |
magma_sprint_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 | REAL 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 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). |