libflame  revision_anchor
Functions | Variables
FLASH_Axpy_cntl_init.c File Reference

(r)

Functions

void FLASH_Axpy_cntl_init ()
 
void FLASH_Axpy_cntl_finalize ()
 

Variables

fla_axpy_tflash_axpy_cntl_blas
 
fla_axpy_tflash_axpy_cntl_tb
 
fla_axpy_tflash_axpy_cntl
 
fla_blocksize_tflash_axpy_bsize
 

Function Documentation

◆ FLASH_Axpy_cntl_finalize()

void FLASH_Axpy_cntl_finalize ( void  )

References FLA_Blocksize_free(), and FLA_Cntl_obj_free().

Referenced by FLA_Cntl_finalize_flash().

44 {
46 
49 
51 }
fla_blocksize_t * flash_axpy_bsize
Definition: FLASH_Axpy_cntl_init.c:16
fla_axpy_t * flash_axpy_cntl_blas
Definition: FLASH_Axpy_cntl_init.c:13
fla_axpy_t * flash_axpy_cntl_tb
Definition: FLASH_Axpy_cntl_init.c:14
void FLA_Blocksize_free(fla_blocksize_t *bp)
Definition: FLA_Blocksize.c:110
fla_axpy_t * flash_axpy_cntl
Definition: FLASH_Axpy_cntl_init.c:15
void FLA_Cntl_obj_free(void *cntl)
Definition: FLA_Cntl.c:13

◆ FLASH_Axpy_cntl_init()

void FLASH_Axpy_cntl_init ( void  )

References FLA_Blocksize_create(), and FLA_Cntl_axpy_obj_create().

Referenced by FLA_Cntl_init_flash().

19 {
20  // Set blocksize for hierarchical storage.
21  flash_axpy_bsize = FLA_Blocksize_create( 1, 1, 1, 1 );
22 
23  // Create a control tree that assumes A and B are small.
25  FLA_SUBPROBLEM,
26  NULL,
27  NULL );
28 
29  // Create a control tree that marches through A and B vertically.
31  FLA_BLOCKED_VARIANT1,
34 
35  // Create a control tree that marches through A and B horizontally, then
36  // vertically.
38  FLA_BLOCKED_VARIANT3,
41 }
fla_blocksize_t * flash_axpy_bsize
Definition: FLASH_Axpy_cntl_init.c:16
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
fla_axpy_t * flash_axpy_cntl_blas
Definition: FLASH_Axpy_cntl_init.c:13
fla_axpy_t * FLA_Cntl_axpy_obj_create(FLA_Matrix_type matrix_type, int variant, fla_blocksize_t *blocksize, fla_axpy_t *sub_axpy)
Definition: FLA_Cntl_blas1.c:17
fla_axpy_t * flash_axpy_cntl_tb
Definition: FLASH_Axpy_cntl_init.c:14
fla_axpy_t * flash_axpy_cntl
Definition: FLASH_Axpy_cntl_init.c:15

Variable Documentation

◆ flash_axpy_bsize

fla_blocksize_t* flash_axpy_bsize

◆ flash_axpy_cntl

fla_axpy_t* flash_axpy_cntl

◆ flash_axpy_cntl_blas

fla_axpy_t* flash_axpy_cntl_blas

Referenced by FLA_Axpy_internal().

◆ flash_axpy_cntl_tb

fla_axpy_t* flash_axpy_cntl_tb