Hello,
Is it possible to call magma_dgeqrf_mgpu and magma_dpotrf_mgpu on the same matrix? Where nb for dpotrf_mgpu is different than nb for dgeqrf_mgpu, and hence the allocation of the matrix for the two routines on multiple gpus will be different.
Thanks
Calling magma_dgeqrf_mgpu and magma_dpotrf_mgpu
Re: Calling magma_dgeqrf_mgpu and magma_dpotrf_mgpu
MAGMA multi-GPU interface assumes the matrix is distributed using the block size specified by the get_nb routine. If the matrix is distributed using a block size different from get_nb(), then the code will either give a wrong result or will crash. You may be able to this by modifying control/get_nb.cpp so that get_nb_dpotrf() and get_nb_dgetrf() will return the same value. Also, for dpotrf, the matrix is distributed in a 1D block row cyclic for computing the Cholesky factor in a lower triangle, while it uses 1D block column cyclic for an upper triangle. So, you will need to do it in an upper triangular form.
By the way, why are you calling dgetrf and dpotrf on the same matrix?
Please let me know if you need more clarification, or if this did not work.
Ichi
By the way, why are you calling dgetrf and dpotrf on the same matrix?
Please let me know if you need more clarification, or if this did not work.
Ichi