libflame revision_anchor
Functions | Variables
FLA_Chol_internal.c File Reference

(r)

Functions

FLA_Error FLA_Chol_internal (FLA_Uplo uplo, FLA_Obj A, fla_chol_t *cntl)
 

Variables

fla_chol_tflash_chol_cntl
 
fla_chol_tfla_chol_cntl_leaf
 

Function Documentation

◆ FLA_Chol_internal()

FLA_Error FLA_Chol_internal ( FLA_Uplo  uplo,
FLA_Obj  A,
fla_chol_t cntl 
)
17{
19
21 FLA_Chol_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_Chol( uplo, A, cntl );
38 }
39 else
40 {
41 if ( FLA_Cntl_matrix_type( cntl ) == FLA_HIER &&
44 {
45 // Execute leaf
46 cntl = fla_chol_cntl_leaf;
47 }
48
49 // Parameter combinations
50 if ( uplo == FLA_LOWER_TRIANGULAR )
51 {
52 r_val = FLA_Chol_l( A, cntl );
53 }
54 else if ( uplo == FLA_UPPER_TRIANGULAR )
55 {
56 r_val = FLA_Chol_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_Chol_u(FLA_Obj A, fla_chol_t *cntl)
Definition FLA_Chol_u.c:13
FLA_Error FLA_Chol_l(FLA_Obj A, fla_chol_t *cntl)
Definition FLA_Chol_l.c:13
fla_chol_t * flash_chol_cntl
Definition FLASH_Chol_cntl_init.c:17
fla_chol_t * fla_chol_cntl_leaf
Definition FLA_Chol_cntl_init.c:20
FLA_Error FLA_Chol_internal(FLA_Uplo uplo, FLA_Obj A, fla_chol_t *cntl)
Definition FLA_Chol_internal.c:16
FLA_Error FLA_Chol_internal_check(FLA_Uplo uplo, FLA_Obj A, fla_chol_t *cntl)
Definition FLA_Chol_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_chol_cntl_leaf, FLA_Chol_internal(), FLA_Chol_internal_check(), FLA_Chol_l(), FLA_Chol_u(), FLA_Obj_elemtype(), flash_chol_cntl, FLASH_Queue_get_enabled(), and i.

Referenced by FLA_Chol(), FLA_Chol_internal(), FLA_Chol_l_blk_var1(), FLA_Chol_l_blk_var2(), FLA_Chol_l_blk_var3(), FLA_Chol_l_task(), FLA_Chol_task(), FLA_Chol_u_blk_var1(), FLA_Chol_u_blk_var2(), FLA_Chol_u_blk_var3(), FLA_Chol_u_task(), FLA_SPDinv_internal(), and FLASH_Chol().

Variable Documentation

◆ fla_chol_cntl_leaf

fla_chol_t* fla_chol_cntl_leaf
extern

◆ flash_chol_cntl

fla_chol_t* flash_chol_cntl
extern

Referenced by FLA_Chol_internal().