Functions | |
void | FLA_Symm_cntl_init () |
void | FLA_Symm_cntl_finalize () |
Variables | |
fla_gemm_t * | fla_gemm_cntl_blas |
fla_symm_t * | fla_symm_cntl_blas |
fla_symm_t * | fla_symm_cntl_bp |
fla_symm_t * | fla_symm_cntl_mp |
fla_symm_t * | fla_symm_cntl_mm |
fla_blocksize_t * | fla_symm_var4_bsize |
fla_blocksize_t * | fla_symm_var9_bsize |
void FLA_Symm_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flamec().
00084 { 00085 FLA_Cntl_obj_free( fla_symm_cntl_blas ); 00086 00087 FLA_Cntl_obj_free( fla_symm_cntl_bp ); 00088 FLA_Cntl_obj_free( fla_symm_cntl_mp ); 00089 FLA_Cntl_obj_free( fla_symm_cntl_mm ); 00090 00091 FLA_Blocksize_free( fla_symm_var4_bsize ); 00092 FLA_Blocksize_free( fla_symm_var9_bsize ); 00093 }
void FLA_Symm_cntl_init | ( | void | ) |
References FLA_Cntl_symm_obj_create(), and FLA_Query_blocksizes().
Referenced by FLA_Cntl_init_flamec().
00045 { 00046 // Set blocksizes with default values for conventional storage. 00047 fla_symm_var4_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); 00048 fla_symm_var9_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); 00049 00050 // Create a control tree that assumes A and B are b x b blocks. 00051 fla_symm_cntl_blas = FLA_Cntl_symm_obj_create( FLA_FLAT, 00052 FLA_SUBPROBLEM, 00053 NULL, 00054 NULL, 00055 NULL, 00056 NULL ); 00057 00058 // Create a control tree that assumes A is a block and B is a panel. 00059 fla_symm_cntl_bp = FLA_Cntl_symm_obj_create( FLA_FLAT, 00060 FLA_BLOCKED_VARIANT9, 00061 fla_symm_var9_bsize, 00062 fla_symm_cntl_blas, 00063 NULL, 00064 NULL ); 00065 00066 // Create a control tree that assumes A is large and B is a panel. 00067 fla_symm_cntl_mp = FLA_Cntl_symm_obj_create( FLA_FLAT, 00068 FLA_BLOCKED_VARIANT4, 00069 fla_symm_var4_bsize, 00070 fla_symm_cntl_blas, 00071 fla_gemm_cntl_blas, 00072 fla_gemm_cntl_blas ); 00073 00074 // Create a control tree that assumes A and B are both large. 00075 fla_symm_cntl_mm = FLA_Cntl_symm_obj_create( FLA_FLAT, 00076 FLA_BLOCKED_VARIANT9, 00077 fla_symm_var9_bsize, 00078 fla_symm_cntl_mp, 00079 NULL, 00080 NULL ); 00081 }