libflame  revision_anchor
FLA_Cntl_blas2.h
Go to the documentation of this file.
00001 /*
00002 
00003     Copyright (C) 2014, The University of Texas at Austin
00004 
00005     This file is part of libflame and is available under the 3-Clause
00006     BSD license, which can be found in the LICENSE file at the top-level
00007     directory, or at http://opensource.org/licenses/BSD-3-Clause
00008 
00009 */
00010 
00011 
00012 //
00013 // Level-2 BLAS
00014 //
00015 
00016 struct fla_gemv_s
00017 {
00018     FLA_Matrix_type    matrix_type;
00019     int                variant;
00020     fla_blocksize_t*   blocksize;
00021     struct fla_scal_s* sub_scal;
00022     struct fla_gemv_s* sub_gemv;
00023 };
00024 typedef struct fla_gemv_s fla_gemv_t;
00025 
00026 struct fla_trsv_s
00027 {
00028     FLA_Matrix_type    matrix_type;
00029     int                variant;
00030     fla_blocksize_t*   blocksize;
00031     struct fla_trsv_s* sub_trsv;
00032     struct fla_gemv_s* sub_gemv;
00033 };
00034 typedef struct fla_trsv_s fla_trsv_t;
00035 
00036 
00037 #define FLA_Cntl_sub_gemv( cntl )     cntl->sub_gemv
00038 #define FLA_Cntl_sub_trsv( cntl )     cntl->sub_trsv
00039 
00040 
00041 fla_gemv_t* FLA_Cntl_gemv_obj_create( FLA_Matrix_type  matrix_type,
00042                                       int              variant,
00043                                       fla_blocksize_t* blocksize,
00044                                       fla_scal_t*      sub_scal,
00045                                       fla_gemv_t*      sub_gemv );
00046 fla_trsv_t* FLA_Cntl_trsv_obj_create( FLA_Matrix_type  matrix_type,
00047                                       int              variant,
00048                                       fla_blocksize_t* blocksize,
00049                                       fla_trsv_t*      sub_trsv,
00050                                       fla_gemv_t*      sub_gemv );
00051