First of all, my congratulations to all the MAGMA people. I was looking how to mix
MATLAB, CUBLAS code and I read all the info available (thank you Boxed Cyclon). Now
I want to mix also MAGMA code.
Well, now, I need to solve a linear system. In MAGMA 0.1, I needed the triangular solver
TRSM but in MAGMA 0.2, (I think that triangular solvers and calls to SWAP code, for the
right hand solvers are included).
Well I downloaded MAGMA 0.2, and I have several questions...
1) I see in MAGMA User's Guide that the linear system is now solved using
magma_xgesv_gpu...Perfect!!!, but when I am going to test it and I see the code...in
magma_sgetrf_gpu(&N, &N, d_A, &dlda, IPIV, h_work_M_S, INFO);
magma_sgetrs_gpu("N", N, NRHS, d_A, dlda, IPIV, d_B, LDB, INFO, h_work_M_S);
I think this is the equivalent way to magma_sgesv_gpu, but there is no call to sgesv_gpu...
2) The testing_sgesv_gpu.cpp does not give CPU results. Only it gives GPU results
3) My code has several calls to Cublas_sgemm. May I substitute it by MAGMA_sgemm to get better
With many thanks in advance.
Again, congratulations for your work