libflame  revision_anchor
Functions | Variables
FLASH_Trsm_cntl_init.c File Reference

(r)

Functions

void FLASH_Trsm_cntl_init ()
 
void FLASH_Trsm_cntl_finalize ()
 

Variables

fla_scal_tflash_scal_cntl
 
fla_gemm_tflash_gemm_cntl_op_bp
 
fla_trsm_tflash_trsm_cntl_blas
 
fla_trsm_tflash_trsm_cntl_bp
 
fla_trsm_tflash_trsm_cntl_mp
 
fla_trsm_tflash_trsm_cntl_mm
 
fla_blocksize_tflash_trsm_bsize
 

Function Documentation

◆ FLASH_Trsm_cntl_finalize()

void FLASH_Trsm_cntl_finalize ( void  )
61 {
63 
67 
69 }
fla_blocksize_t * flash_trsm_bsize
Definition: FLASH_Trsm_cntl_init.c:20
fla_trsm_t * flash_trsm_cntl_mp
Definition: FLASH_Trsm_cntl_init.c:18
fla_trsm_t * flash_trsm_cntl_blas
Definition: FLASH_Trsm_cntl_init.c:16
fla_trsm_t * flash_trsm_cntl_mm
Definition: FLASH_Trsm_cntl_init.c:19
fla_trsm_t * flash_trsm_cntl_bp
Definition: FLASH_Trsm_cntl_init.c:17
void FLA_Cntl_obj_free(void *cntl)
Definition: FLA_Cntl.c:13
void FLA_Blocksize_free(fla_blocksize_t *bp)
Definition: FLA_Blocksize.c:110

References FLA_Blocksize_free(), FLA_Cntl_obj_free(), flash_trsm_bsize, flash_trsm_cntl_blas, flash_trsm_cntl_bp, flash_trsm_cntl_mm, and flash_trsm_cntl_mp.

Referenced by FLA_Cntl_finalize_flash().

◆ FLASH_Trsm_cntl_init()

void FLASH_Trsm_cntl_init ( void  )
23 {
24  // Set trsm blocksize for hierarchical storage.
25  flash_trsm_bsize = FLA_Blocksize_create( 1, 1, 1, 1 );
26 
27  // Create a control tree that assumes A and B are b x b blocks.
29  FLA_SUBPROBLEM,
30  NULL,
31  NULL,
32  NULL,
33  NULL );
34 
35  // Create a control tree that assumes A is a block and B is a panel.
37  FLA_BLOCKED_VARIANT3,
41  NULL );
42 
43  // Create a control tree that assumes A is large and B is a panel.
45  FLA_BLOCKED_VARIANT2,
50 
51  // Create a control tree that assumes A and B are both large.
53  FLA_BLOCKED_VARIANT3,
57  NULL );
58 }
fla_scal_t * flash_scal_cntl
Definition: FLASH_Scal_cntl_init.c:16
fla_gemm_t * flash_gemm_cntl_op_bp
Definition: FLASH_Gemm_cntl_init.c:23
fla_trsm_t * FLA_Cntl_trsm_obj_create(FLA_Matrix_type matrix_type, int variant, fla_blocksize_t *blocksize, fla_scal_t *sub_scal, fla_trsm_t *sub_trsm, fla_gemm_t *sub_gemm)
Definition: FLA_Cntl_blas3.c:191
fla_blocksize_t * FLA_Blocksize_create(dim_t b_s, dim_t b_d, dim_t b_c, dim_t b_z)
Definition: FLA_Blocksize.c:36

References FLA_Blocksize_create(), FLA_Cntl_trsm_obj_create(), flash_gemm_cntl_op_bp, flash_scal_cntl, flash_trsm_bsize, flash_trsm_cntl_blas, flash_trsm_cntl_bp, flash_trsm_cntl_mm, and flash_trsm_cntl_mp.

Referenced by FLA_Cntl_init_flash().

Variable Documentation

◆ flash_gemm_cntl_op_bp

fla_gemm_t* flash_gemm_cntl_op_bp
extern

Referenced by FLASH_Trsm_cntl_init().

◆ flash_scal_cntl

fla_scal_t* flash_scal_cntl
extern

Referenced by FLASH_Trsm_cntl_init().

◆ flash_trsm_bsize

fla_blocksize_t* flash_trsm_bsize

◆ flash_trsm_cntl_blas

fla_trsm_t* flash_trsm_cntl_blas

◆ flash_trsm_cntl_bp

fla_trsm_t* flash_trsm_cntl_bp

◆ flash_trsm_cntl_mm

fla_trsm_t* flash_trsm_cntl_mm

◆ flash_trsm_cntl_mp

fla_trsm_t* flash_trsm_cntl_mp