I have some questions about the documentation in some MAGMA functions:
1. About magma_dgels_gpu:
Acoording to the interface
- Code: Select all
...
double *dA, magma_int_t ldda,
double *dB, magma_int_t lddb,
double *hwork, magma_int_t lwork,
...
I understand that dA and dB matrices should be on the GPU and vector hwork in computer RAM (not in GPU). Am I right about the hvector?
The help in dgels_gpu.cpp says
- Code: Select all
A (input/output) DOUBLE_PRECISION array, dimension (LDA,N)
On entry, the M-by-N matrix A.
On exit, A is overwritten by details of its QR
factorization as returned by DGEQRF.
so I think it should be updated in order to inform that the matrix should be on the GPU, as for the dB matrix says.
2. About magma_dgetri_gpu:
It has an error in the help. Where says:
- Code: Select all
DWORK (workspace/output) COMPLEX*16 array on the GPU, dimension (MAX(1,LWORK))
should say:
- Code: Select all
DWORK (workspace/output) DOUBLE PRECISION array on the GPU, dimension (MAX(1,LWORK))