libflame  revision_anchor
Functions | Variables
FLA_Trmm_cntl_init.c File Reference

(r)

Functions

void FLA_Trmm_cntl_init ()
 
void FLA_Trmm_cntl_finalize ()
 

Variables

fla_scal_tfla_scal_cntl_blas
 
fla_gemm_tfla_gemm_cntl_blas
 
fla_trmm_tfla_trmm_cntl_blas
 
fla_trmm_tfla_trmm_cntl_bp
 
fla_trmm_tfla_trmm_cntl_mp
 
fla_trmm_tfla_trmm_cntl_mm
 
fla_blocksize_tfla_trmm_var1_bsize
 
fla_blocksize_tfla_trmm_var3_bsize
 

Function Documentation

◆ FLA_Trmm_cntl_finalize()

void FLA_Trmm_cntl_finalize ( void  )

References FLA_Blocksize_free(), and FLA_Cntl_obj_free().

Referenced by FLA_Cntl_finalize_flamec().

63 {
65 
69 
72 }
fla_trmm_t * fla_trmm_cntl_blas
Definition: FLA_Trmm_cntl_init.c:16
fla_trmm_t * fla_trmm_cntl_mm
Definition: FLA_Trmm_cntl_init.c:19
fla_blocksize_t * fla_trmm_var3_bsize
Definition: FLA_Trmm_cntl_init.c:21
fla_trmm_t * fla_trmm_cntl_mp
Definition: FLA_Trmm_cntl_init.c:18
fla_trmm_t * fla_trmm_cntl_bp
Definition: FLA_Trmm_cntl_init.c:17
void FLA_Blocksize_free(fla_blocksize_t *bp)
Definition: FLA_Blocksize.c:110
fla_blocksize_t * fla_trmm_var1_bsize
Definition: FLA_Trmm_cntl_init.c:20
void FLA_Cntl_obj_free(void *cntl)
Definition: FLA_Cntl.c:13

◆ FLA_Trmm_cntl_init()

void FLA_Trmm_cntl_init ( void  )

References FLA_Cntl_trmm_obj_create(), and FLA_Query_blocksizes().

Referenced by FLA_Cntl_init_flamec().

24 {
25  // Set blocksizes with default values for conventional storage.
26  fla_trmm_var1_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
27  fla_trmm_var3_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
28 
29  // Create a control tree that assumes A and B are b x b blocks.
31  FLA_SUBPROBLEM,
32  NULL,
33  NULL,
34  NULL,
35  NULL );
36 
37  // Create a control tree that assumes A is a block and B is a panel.
39  FLA_BLOCKED_VARIANT3,
43  NULL );
44 
45  // Create a control tree that assumes A is large and B is a panel.
47  FLA_BLOCKED_VARIANT1,
52 
53  // Create a control tree that assumes A and B are both large.
55  FLA_BLOCKED_VARIANT3,
59  NULL );
60 }
fla_trmm_t * fla_trmm_cntl_blas
Definition: FLA_Trmm_cntl_init.c:16
fla_trmm_t * fla_trmm_cntl_mm
Definition: FLA_Trmm_cntl_init.c:19
fla_gemm_t * fla_gemm_cntl_blas
Definition: FLA_Gemm_cntl_init.c:15
fla_blocksize_t * fla_trmm_var3_bsize
Definition: FLA_Trmm_cntl_init.c:21
fla_trmm_t * fla_trmm_cntl_mp
Definition: FLA_Trmm_cntl_init.c:18
fla_trmm_t * fla_trmm_cntl_bp
Definition: FLA_Trmm_cntl_init.c:17
fla_scal_t * fla_scal_cntl_blas
Definition: FLA_Scal_cntl_init.c:13
fla_blocksize_t * FLA_Query_blocksizes(FLA_Dimension dim)
Definition: FLA_Blocksize.c:142
fla_blocksize_t * fla_trmm_var1_bsize
Definition: FLA_Trmm_cntl_init.c:20
fla_trmm_t * FLA_Cntl_trmm_obj_create(FLA_Matrix_type matrix_type, int variant, fla_blocksize_t *blocksize, fla_scal_t *sub_scal, fla_trmm_t *sub_trmm, fla_gemm_t *sub_gemm)
Definition: FLA_Cntl_blas3.c:170

Variable Documentation

◆ fla_gemm_cntl_blas

fla_gemm_t* fla_gemm_cntl_blas

◆ fla_scal_cntl_blas

fla_scal_t* fla_scal_cntl_blas

◆ fla_trmm_cntl_blas

fla_trmm_t* fla_trmm_cntl_blas

◆ fla_trmm_cntl_bp

fla_trmm_t* fla_trmm_cntl_bp

◆ fla_trmm_cntl_mm

fla_trmm_t* fla_trmm_cntl_mm

◆ fla_trmm_cntl_mp

fla_trmm_t* fla_trmm_cntl_mp

◆ fla_trmm_var1_bsize

fla_blocksize_t* fla_trmm_var1_bsize

◆ fla_trmm_var3_bsize

fla_blocksize_t* fla_trmm_var3_bsize