I want to compute a LU factorization using MAGMA, but I found 3 different functions : magma_sgetrf, magma_sgetrf_gpu and magma_sgetrf_gpu2.
Apparently magma_sgetrf is doing operations on the GPU too since it requires a workspace on the GPU, but then what is different from magma_sgetrf_gpu ?
And what is the function magma_sgetrf_gpu2 ? There is no reference to it in the User's Guide, but it is in an example (testing_sgetrf_gpu-v2).
(Also I assume it is the same for the other function like dgetrf, sgeqrf, etc. for which 3 versions are implemented)