FLA_Syr2k_cntl_init.c File Reference

(r)


Functions

void FLA_Syr2k_cntl_init ()
void FLA_Syr2k_cntl_finalize ()

Variables

fla_gemm_tfla_gemm_cntl_blas
fla_syr2k_tfla_syr2k_cntl_blas
fla_syr2k_tfla_syr2k_cntl_ip
fla_syr2k_tfla_syr2k_cntl_op
fla_syr2k_tfla_syr2k_cntl_sq
fla_blocksize_tfla_syr2k_var3_bsize
fla_blocksize_tfla_syr2k_var9_bsize

Function Documentation

void FLA_Syr2k_cntl_finalize ( void   ) 

void FLA_Syr2k_cntl_init ( void   ) 

References FLA_Cntl_syr2k_obj_create(), and FLA_Query_blocksizes().

Referenced by FLA_Cntl_init_flamec().

00045 {
00046     // Set blocksizes with default values for conventional storage.
00047     fla_syr2k_var3_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
00048     fla_syr2k_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_syr2k_cntl_blas  = FLA_Cntl_syr2k_obj_create( FLA_FLAT,
00052                                                       FLA_SUBPROBLEM,
00053                                                       NULL,
00054                                                       NULL,
00055                                                       NULL,
00056                                                       NULL );
00057 
00058     // Create a control tree that assumes A and B form an inner panel product.
00059     fla_syr2k_cntl_ip    = FLA_Cntl_syr2k_obj_create( FLA_FLAT,
00060                                                       FLA_BLOCKED_VARIANT9,
00061                                                       fla_syr2k_var9_bsize,
00062                                                       fla_syr2k_cntl_blas,
00063                                                       NULL,
00064                                                       NULL );
00065 
00066     // Create a control tree that assumes A and B form an outer panel product.
00067     fla_syr2k_cntl_op    = FLA_Cntl_syr2k_obj_create( FLA_FLAT,
00068                                                       FLA_BLOCKED_VARIANT3,
00069                                                       fla_syr2k_var3_bsize,
00070                                                       fla_syr2k_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_syr2k_cntl_sq    = FLA_Cntl_syr2k_obj_create( FLA_FLAT,
00076                                                       FLA_BLOCKED_VARIANT9,
00077                                                       fla_syr2k_var9_bsize,
00078                                                       fla_syr2k_cntl_op,
00079                                                       NULL,
00080                                                       NULL );
00081 }


Variable Documentation


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