4template <
typename Ftype>
16 index[2] = isDiagIncluded;
24 for (
int_t lb = 0; lb < nlb; lb++)
34 index[blkIdPtr++] = global_id;
35 index[pxSumPtr] = nrows + index[pxSumPtr - 1];
38 int_t firstRow = xsup[global_id];
39 for (
int rowId = 0; rowId < nrows; rowId++)
51template <
typename Ftype>
54 for (
int_t i = 0;
i < nblocks();
i++)
63template <
typename Ftype>
68 Ftype* lPanelStPtr = blkPtr(0);
73 lPanelStPtr = blkPtr(1);
76 Ftype alpha = one<Ftype>();
77 superlu_trsm<Ftype>(
"R",
"U",
"N",
"N",
78 len, ksupsz, alpha, DiagBlk, LDD,
85template <
typename Ftype>
94 xgstrf2<Ftype>(k, val, LDA(), UBlk, LDU,
95 thresh, xsup, options, stat, info);
100template <
typename Ftype>
104 assert(LDD >= nbrow(0));
105 int_t nsupc = nbrow(0);
106 for (
int j = 0;
j < nsupc; ++
j)
108 memcpy(&DiagLBlk[
j * LDD], &val[
j * LDA()], nsupc *
sizeof(Ftype));
113template <
typename Ftype>
123 stRow(ii) - stRow(iSt) <= maxRows &&
128 if (stRow(ii) - stRow(iSt) > maxRows)
135 if (stRow(ii) - stRow(iSt) <= maxRows)
int_t find(int_t k)
Definition: l_panels_impl.hpp:52
int_t packDiagBlock(Ftype *DiagLBlk, int_t LDD)
Definition: l_panels_impl.hpp:101
int_t diagFactor(int_t k, Ftype *UBlk, int_t LDU, threshPivValType< Ftype > thresh, int_t *xsup, superlu_dist_options_t *options, SuperLUStat_t *stat, int *info)
Definition: l_panels_impl.hpp:86
int getEndBlock(int iSt, int maxRows)
Definition: l_panels_impl.hpp:114
int_t panelSolve(int_t ksupsz, Ftype *DiagBlk, int_t LDD)
Definition: l_panels_impl.hpp:64
xlpanel_t()
Definition: xlupanels.hpp:43
typename std::conditional< std::is_same< Ftype, float >::value, float, typename std::conditional< std::is_same< Ftype, double >::value||std::is_same< Ftype, doublecomplex >::value, double, float >::type >::type threshPivValType
Definition: luAuxStructTemplated.hpp:70
#define LPANEL_HEADER_SIZE
Definition: lu_common.hpp:6
#define GLOBAL_BLOCK_NOT_FOUND
Definition: lupanels.hpp:16
integer, parameter, public lsub
Definition: superlupara.f90:35
Definition: util_dist.h:101
Definition: superlu_defs.h:728
#define SuperSize(bnum)
Definition: superlu_defs.h:271
int64_t int_t
Definition: superlu_defs.h:119
#define LB_DESCRIPTOR
Definition: superlu_defs.h:199
#define BC_HEADER
Definition: superlu_defs.h:198
int j
Definition: sutil_dist.c:287
int i
Definition: sutil_dist.c:287
#define SUPERLU_MALLOC(size)
Definition: util_dist.h:48