libflame revision_anchor
Functions
FLA_Ttmm.h File Reference

(r)

Go to the source code of this file.

Functions

FLA_Error FLA_Ttmm_internal (FLA_Uplo uplo, FLA_Obj A, fla_ttmm_t *cntl)
 
FLA_Error FLA_Ttmm_l (FLA_Obj A, fla_ttmm_t *cntl)
 
FLA_Error FLA_Ttmm_u (FLA_Obj A, fla_ttmm_t *cntl)
 

Function Documentation

◆ FLA_Ttmm_internal()

FLA_Error FLA_Ttmm_internal ( FLA_Uplo  uplo,
FLA_Obj  A,
fla_ttmm_t cntl 
)
17{
19
21 FLA_Ttmm_internal_check( uplo, A, cntl );
22
23 if ( FLA_Cntl_matrix_type( cntl ) == FLA_HIER &&
26 {
27 // Recurse
31 }
32 else if ( FLA_Cntl_matrix_type( cntl ) == FLA_HIER &&
35 {
36 // Enqueue
37 ENQUEUE_FLASH_Ttmm( uplo, A, cntl );
38 }
39 else
40 {
41 if ( FLA_Cntl_matrix_type( cntl ) == FLA_HIER &&
44 {
45 // Execute leaf
46 cntl = fla_ttmm_cntl_leaf;
47 }
48
49 // Parameter combinations
50 if ( uplo == FLA_LOWER_TRIANGULAR )
51 {
52 r_val = FLA_Ttmm_l( A, cntl );
53 }
54 else if ( uplo == FLA_UPPER_TRIANGULAR )
55 {
56 r_val = FLA_Ttmm_u( A, cntl );
57 }
58 }
59
60 return r_val;
61}
FLA_Bool FLASH_Queue_get_enabled(void)
Definition FLASH_Queue.c:171
FLA_Error FLA_Ttmm_l(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_l.c:13
FLA_Error FLA_Ttmm_u(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_u.c:13
fla_ttmm_t * flash_ttmm_cntl
Definition FLASH_Ttmm_cntl_init.c:17
fla_ttmm_t * fla_ttmm_cntl_leaf
Definition FLA_Ttmm_cntl_init.c:17
FLA_Error FLA_Ttmm_internal(FLA_Uplo uplo, FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_internal.c:16
FLA_Error FLA_Ttmm_internal_check(FLA_Uplo uplo, FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_internal_check.c:13
FLA_Elemtype FLA_Obj_elemtype(FLA_Obj obj)
Definition FLA_Query.c:51
unsigned int FLA_Check_error_level(void)
Definition FLA_Check.c:18
int FLA_Error
Definition FLA_type_defs.h:47
int i
Definition bl1_axmyv2.c:145

References FLA_Check_error_level(), FLA_Obj_elemtype(), fla_ttmm_cntl_leaf, FLA_Ttmm_internal(), FLA_Ttmm_internal_check(), FLA_Ttmm_l(), FLA_Ttmm_u(), FLASH_Queue_get_enabled(), flash_ttmm_cntl, and i.

Referenced by FLA_SPDinv_internal(), FLA_Ttmm(), FLA_Ttmm_internal(), FLA_Ttmm_l_blk_var1(), FLA_Ttmm_l_blk_var2(), FLA_Ttmm_l_blk_var3(), FLA_Ttmm_l_task(), FLA_Ttmm_task(), FLA_Ttmm_u_blk_var1(), FLA_Ttmm_u_blk_var2(), FLA_Ttmm_u_blk_var3(), FLA_Ttmm_u_task(), and FLASH_Ttmm().

◆ FLA_Ttmm_l()

FLA_Error FLA_Ttmm_l ( FLA_Obj  A,
fla_ttmm_t cntl 
)
14{
16
17 if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_EXTERN )
18 {
20 }
21 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_EXTERN )
22 {
24 }
25#ifdef FLA_ENABLE_NON_CRITICAL_CODE
26 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_VARIANT1 )
27 {
29 }
30#endif
31 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_VARIANT2 )
32 {
34 }
35#ifdef FLA_ENABLE_NON_CRITICAL_CODE
36 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_VARIANT3 )
37 {
39 }
40#endif
41#ifdef FLA_ENABLE_NON_CRITICAL_CODE
42 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT1 )
43 {
45 }
46#endif
47 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT2 )
48 {
50 }
51#ifdef FLA_ENABLE_NON_CRITICAL_CODE
52 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT3 )
53 {
55 }
56#endif
57 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
58 {
59 r_val = FLA_Ttmm_l_blk_var1( A, cntl );
60 }
61#ifdef FLA_ENABLE_NON_CRITICAL_CODE
62 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
63 {
64 r_val = FLA_Ttmm_l_blk_var2( A, cntl );
65 }
66 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT3 )
67 {
68 r_val = FLA_Ttmm_l_blk_var3( A, cntl );
69 }
70#endif
71 else
72 {
74 }
75
76 return r_val;
77}
FLA_Error FLA_Ttmm_l_unb_var1(FLA_Obj A)
Definition FLA_Ttmm_l_unb_var1.c:15
FLA_Error FLA_Ttmm_l_unb_var3(FLA_Obj A)
Definition FLA_Ttmm_l_unb_var3.c:15
FLA_Error FLA_Ttmm_l_blk_var1(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_l_blk_var1.c:13
FLA_Error FLA_Ttmm_l_opt_var1(FLA_Obj A)
Definition FLA_Ttmm_l_opt_var1.c:15
FLA_Error FLA_Ttmm_l_unb_var2(FLA_Obj A)
Definition FLA_Ttmm_l_unb_var2.c:15
FLA_Error FLA_Ttmm_l_opt_var3(FLA_Obj A)
Definition FLA_Ttmm_l_opt_var3.c:15
FLA_Error FLA_Ttmm_l_opt_var2(FLA_Obj A)
Definition FLA_Ttmm_l_opt_var2.c:13
FLA_Error FLA_Ttmm_l_blk_var2(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_l_blk_var2.c:15
FLA_Error FLA_Ttmm_l_blk_var3(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_l_blk_var3.c:15
FLA_Error FLA_Ttmm_l_unb_ext(FLA_Obj A)
Definition FLA_Ttmm_unb_external.c:92
FLA_Error FLA_Ttmm_l_blk_ext(FLA_Obj A)
Definition FLA_Ttmm_blk_external.c:92

References FLA_Ttmm_l_blk_ext(), FLA_Ttmm_l_blk_var1(), FLA_Ttmm_l_blk_var2(), FLA_Ttmm_l_blk_var3(), FLA_Ttmm_l_opt_var1(), FLA_Ttmm_l_opt_var2(), FLA_Ttmm_l_opt_var3(), FLA_Ttmm_l_unb_ext(), FLA_Ttmm_l_unb_var1(), FLA_Ttmm_l_unb_var2(), FLA_Ttmm_l_unb_var3(), and i.

Referenced by FLA_Ttmm_internal().

◆ FLA_Ttmm_u()

FLA_Error FLA_Ttmm_u ( FLA_Obj  A,
fla_ttmm_t cntl 
)
14{
16
17 if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_EXTERN )
18 {
20 }
21 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_EXTERN )
22 {
24 }
25#ifdef FLA_ENABLE_NON_CRITICAL_CODE
26 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_VARIANT1 )
27 {
29 }
30#endif
31 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_VARIANT2 )
32 {
34 }
35#ifdef FLA_ENABLE_NON_CRITICAL_CODE
36 else if ( FLA_Cntl_variant( cntl ) == FLA_UNBLOCKED_VARIANT3 )
37 {
39 }
40#endif
41#ifdef FLA_ENABLE_NON_CRITICAL_CODE
42 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT1 )
43 {
45 }
46#endif
47 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT2 )
48 {
50 }
51#ifdef FLA_ENABLE_NON_CRITICAL_CODE
52 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT3 )
53 {
55 }
56#endif
57 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
58 {
59 r_val = FLA_Ttmm_u_blk_var1( A, cntl );
60 }
61#ifdef FLA_ENABLE_NON_CRITICAL_CODE
62 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
63 {
64 r_val = FLA_Ttmm_u_blk_var2( A, cntl );
65 }
66 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT3 )
67 {
68 r_val = FLA_Ttmm_u_blk_var3( A, cntl );
69 }
70#endif
71 else
72 {
74 }
75
76 return r_val;
77}
FLA_Error FLA_Ttmm_u_unb_var3(FLA_Obj A)
Definition FLA_Ttmm_u_unb_var3.c:15
FLA_Error FLA_Ttmm_u_opt_var3(FLA_Obj A)
Definition FLA_Ttmm_u_opt_var3.c:15
FLA_Error FLA_Ttmm_u_opt_var1(FLA_Obj A)
Definition FLA_Ttmm_u_opt_var1.c:15
FLA_Error FLA_Ttmm_u_blk_var3(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_u_blk_var3.c:15
FLA_Error FLA_Ttmm_u_opt_var2(FLA_Obj A)
Definition FLA_Ttmm_u_opt_var2.c:13
FLA_Error FLA_Ttmm_u_blk_var1(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_u_blk_var1.c:13
FLA_Error FLA_Ttmm_u_unb_var2(FLA_Obj A)
Definition FLA_Ttmm_u_unb_var2.c:15
FLA_Error FLA_Ttmm_u_unb_var1(FLA_Obj A)
Definition FLA_Ttmm_u_unb_var1.c:15
FLA_Error FLA_Ttmm_u_blk_var2(FLA_Obj A, fla_ttmm_t *cntl)
Definition FLA_Ttmm_u_blk_var2.c:15
FLA_Error FLA_Ttmm_u_blk_ext(FLA_Obj A)
Definition FLA_Ttmm_blk_external.c:97
FLA_Error FLA_Ttmm_u_unb_ext(FLA_Obj A)
Definition FLA_Ttmm_unb_external.c:97

References FLA_Ttmm_u_blk_ext(), FLA_Ttmm_u_blk_var1(), FLA_Ttmm_u_blk_var2(), FLA_Ttmm_u_blk_var3(), FLA_Ttmm_u_opt_var1(), FLA_Ttmm_u_opt_var2(), FLA_Ttmm_u_opt_var3(), FLA_Ttmm_u_unb_ext(), FLA_Ttmm_u_unb_var1(), FLA_Ttmm_u_unb_var2(), FLA_Ttmm_u_unb_var3(), and i.

Referenced by FLA_Ttmm_internal().