libflame revision_anchor
Functions
FLASH_Trsm_piv.c File Reference

(r)

Functions

FLA_Error FLASH_Trsm_piv (FLA_Obj A, FLA_Obj B, FLA_Obj p, fla_trsm_t *cntl)
 

Function Documentation

◆ FLASH_Trsm_piv()

FLA_Error FLASH_Trsm_piv ( FLA_Obj  A,
FLA_Obj  B,
FLA_Obj  p,
fla_trsm_t cntl 
)
14{
15 FLA_Obj BL, BR, B0, B1, B2;
16
17 FLA_Part_1x2( B, &BL, &BR, 0, FLA_LEFT );
18
19 while ( FLA_Obj_width( BL ) < FLA_Obj_width( B ) )
20 {
21 FLA_Repart_1x2_to_1x3( BL, /**/ BR, &B0, /**/ &B1, &B2,
22 1, FLA_RIGHT );
23
24 /*------------------------------------------------------------*/
25
27 {
28 // Enqueue
32 FLA_Cntl_sub_trsm( cntl ) );
33 }
34 else
35 {
36 // Execute leaf
40 FLA_Cntl_sub_trsm( cntl ) );
41 }
42
43 /*------------------------------------------------------------*/
44
45 FLA_Cont_with_1x3_to_1x2( &BL, /**/ &BR, B0, B1, /**/ B2,
46 FLA_LEFT );
47 }
48
49 return FLA_SUCCESS;
50}
FLA_Bool FLASH_Queue_get_enabled(void)
Definition FLASH_Queue.c:171
FLA_Error FLA_Trsm_piv_task(FLA_Obj A, FLA_Obj B, FLA_Obj p, fla_trsm_t *cntl)
Definition FLA_Trsm_piv_task.c:13
FLA_Error FLA_Cont_with_1x3_to_1x2(FLA_Obj *AL, FLA_Obj *AR, FLA_Obj A0, FLA_Obj A1, FLA_Obj A2, FLA_Side side)
Definition FLA_View.c:475
dim_t FLA_Obj_width(FLA_Obj obj)
Definition FLA_Query.c:123
FLA_Error FLA_Part_1x2(FLA_Obj A, FLA_Obj *A1, FLA_Obj *A2, dim_t nb, FLA_Side side)
Definition FLA_View.c:110
FLA_Error FLA_Repart_1x2_to_1x3(FLA_Obj AL, FLA_Obj AR, FLA_Obj *A0, FLA_Obj *A1, FLA_Obj *A2, dim_t nb, FLA_Side side)
Definition FLA_View.c:267
int i
Definition bl1_axmyv2.c:145
Definition FLA_type_defs.h:159

References FLA_Cont_with_1x3_to_1x2(), FLA_Obj_width(), FLA_Part_1x2(), FLA_Repart_1x2_to_1x3(), FLA_Trsm_piv_task(), FLASH_Queue_get_enabled(), and i.

Referenced by FLASH_LU_incpiv_var1(), and FLASH_LU_incpiv_var2().