FLASH_Copy_cntl_init.c File Reference

(r)


Functions

void FLASH_Copy_cntl_init ()
void FLASH_Copy_cntl_finalize ()

Variables

fla_copy_tflash_copy_cntl_blas
fla_copy_tflash_copy_cntl_tb
fla_copy_tflash_copy_cntl
fla_blocksize_tflash_copy_bsize

Function Documentation

void FLASH_Copy_cntl_finalize ( void   ) 

void FLASH_Copy_cntl_init ( void   ) 

References FLA_Blocksize_create(), and FLA_Cntl_copy_obj_create().

Referenced by FLA_Cntl_init_flash().

00041 {
00042     // Set blocksize for hierarchical storage.
00043     flash_copy_bsize     = FLA_Blocksize_create( 1, 1, 1, 1 );
00044 
00045     // Create a control tree that assumes A and B are small.
00046     flash_copy_cntl_blas = FLA_Cntl_copy_obj_create( FLA_HIER,
00047                                                      FLA_SUBPROBLEM,
00048                                                      NULL,
00049                                                      NULL );
00050 
00051     // Create a control tree that marches through A and B vertically.
00052     flash_copy_cntl_tb   = FLA_Cntl_copy_obj_create( FLA_HIER,
00053                                                      FLA_BLOCKED_VARIANT1,
00054                                                      flash_copy_bsize,
00055                                                      flash_copy_cntl_blas );
00056 
00057     // Create a control tree that marches through A and B horizontally, then
00058     // vertically.
00059     flash_copy_cntl      = FLA_Cntl_copy_obj_create( FLA_HIER,
00060                                                      FLA_BLOCKED_VARIANT3,
00061                                                      flash_copy_bsize,
00062                                                      flash_copy_cntl_tb );
00063 }


Variable Documentation


Generated on Mon Jul 6 05:45:51 2009 for libflame by  doxygen 1.5.9