1) dgetrf_gpu.cpp is the main file for doing the LU.and if we want the blocked native version we will go to lines 234- 248 (version 2.5.4)
2) magma_dgetrf_recpanel_native is a function for performing LU here, and for seeing the inside we see the file:
3) dgetrf_panel_native.cpp which seems like Toledo's recursive LU algorithm in LAPACK (dividing in two part) and finally if "nb<=recpnb" (I don't know the meaning of recpnb here) we will face with:
4) magma_dgetf2_native function.
On Thu, Dec 24, 2020 at 8:53 PM Stanimire Tomov <to...@icl.utk.edu> wrote:Hi,
The DGETRF GPU version has two subversions - hybrid and native.
The hybrid is computing the panels on the CPU, so pivot selection is the typical CPU function
(IDAMAX plus proper offset) from LAPACK.
The native version is performing the selection in the dgetf2_native_kernel (file dgetf2_native_kernel.cu).
Note that the entire panel is one kernel, so selecting the pivots are not separate kernels/functions.
The selection for the pivot associated with column i is done by thread block i, while the other thread blocks wait -
(see lines between 92 and 159 in file dgetf2_native_kernel.cu).
Hope this clarification helps.
> On Dec 24, 2020, at 11:26 AM, aran nokan <noka...@gmail.com> wrote:
> Which function is for selecting pivot in DGETRF GPU version? Is it a function for CPU or GPU? I want to see the pivot selection process but it seems that is not easy.
> Best Regards,
> You received this message because you are subscribed to the Google Groups "MAGMA User" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
> To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/CAKHt_YZrsEsUir-KTrkntu9B4KP9LOTtVbH_VmnFjyxjnEUDWw%40mail.gmail.com.--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.