libflame  12600
Functions | Variables
FLASH_Copyt_cntl_init.c File Reference

(r12600)

Functions

void FLASH_Copyt_cntl_init ()
void FLASH_Copyt_cntl_finalize ()

Variables

fla_copyt_tflash_copyt_cntl_blas
fla_copyt_tflash_copyt_cntl_tb
fla_copyt_tflash_copyt_cntl_lr
fla_copyt_tflash_copyt_cntl
fla_blocksize_tflash_copyt_bsize

Function Documentation

void FLASH_Copyt_cntl_finalize ( void  )
void FLASH_Copyt_cntl_init ( void  )

References FLA_Blocksize_create(), and FLA_Cntl_copyt_obj_create().

Referenced by FLA_Cntl_init_flash().

{
    // Set blocksize for hierarchical storage.
    flash_copyt_bsize     = FLA_Blocksize_create( 1, 1, 1, 1 );

    // Create a control tree that assumes A and B are small.
    flash_copyt_cntl_blas = FLA_Cntl_copyt_obj_create( FLA_HIER,
                                                       FLA_SUBPROBLEM,
                                                       NULL,
                                                       NULL );

    // Create a control tree that marches through A and B vertically.
    flash_copyt_cntl_tb   = FLA_Cntl_copyt_obj_create( FLA_HIER,
                                                       FLA_BLOCKED_VARIANT1,
                                                       flash_copyt_bsize,
                                                       flash_copyt_cntl_blas );

    // Create a control tree that marches through A and B horizontally.
    flash_copyt_cntl_lr   = FLA_Cntl_copyt_obj_create( FLA_HIER,
                                                       FLA_BLOCKED_VARIANT3,
                                                       flash_copyt_bsize,
                                                       flash_copyt_cntl_blas );

    // Create a control tree that marches through A and B horizontally, then
    // vertically.
    flash_copyt_cntl      = FLA_Cntl_copyt_obj_create( FLA_HIER,
                                                       FLA_BLOCKED_VARIANT3,
                                                       flash_copyt_bsize,
                                                       flash_copyt_cntl_tb );
}

Variable Documentation

Referenced by FLA_Copyt_internal().