libflame revision_anchor
Functions | Variables
FLA_Ttmm_internal.c File Reference

(r)

Functions

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

Variables

fla_ttmm_tflash_ttmm_cntl
 
fla_ttmm_tfla_ttmm_cntl_leaf
 

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().

Variable Documentation

◆ fla_ttmm_cntl_leaf

fla_ttmm_t* fla_ttmm_cntl_leaf
extern

◆ flash_ttmm_cntl

fla_ttmm_t* flash_ttmm_cntl
extern

Referenced by FLA_Ttmm_internal().