FLA_Cntl_blas1.h

Go to the documentation of this file.
00001 /*
00002    libflame
00003    An object-based infrastructure for developing high-performance
00004    dense linear algebra libraries.
00005 
00006    Copyright (C) 2009, The University of Texas
00007 
00008    libflame is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU Lesser General Public License as
00010    published by the Free Software Foundation; either version 2.1 of
00011    the License, or (at your option) any later version.
00012 
00013    libflame is distributed in the hope that it will be useful, but
00014    WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016    Lesser General Public License for more details.
00017 
00018    You should have received a copy of the GNU Lesser General Public
00019    License along with libflame; if you did not receive a copy, see
00020    http://www.gnu.org/licenses/.
00021 
00022    For more information, please contact us at flame@cs.utexas.edu or
00023    send mail to:
00024 
00025    Field G. Van Zee and/or
00026    Robert A. van de Geijn
00027    The University of Texas at Austin
00028    Department of Computer Sciences
00029    1 University Station C0500
00030    Austin TX 78712
00031 */
00032 
00033 
00034 //
00035 // Level-1 BLAS
00036 //
00037 
00038 struct fla_axpy_s
00039 {
00040     FLA_Matrix_type    matrix_type;
00041     int                variant;
00042     fla_blocksize_t*   blocksize;
00043     struct fla_axpy_s* sub_axpy;
00044 };
00045 typedef struct fla_axpy_s fla_axpy_t;
00046 
00047 
00048 struct fla_copy_s
00049 {
00050     FLA_Matrix_type    matrix_type;
00051     int                variant;
00052     fla_blocksize_t*   blocksize;
00053     struct fla_copy_s* sub_copy;
00054 };
00055 typedef struct fla_copy_s fla_copy_t;
00056 
00057 
00058 struct fla_swap_s
00059 {
00060     FLA_Matrix_type    matrix_type;
00061     int                variant;
00062     fla_blocksize_t*   blocksize;
00063     struct fla_swap_s* sub_swap;
00064 };
00065 typedef struct fla_swap_s fla_swap_t;
00066 
00067 
00068 struct fla_tpose_s
00069 {
00070     FLA_Matrix_type     matrix_type;
00071     int                 variant;
00072     fla_blocksize_t*    blocksize;
00073     struct fla_tpose_s* sub_trans;
00074     struct fla_swap_s*  sub_swap;
00075 };
00076 typedef struct fla_tpose_s fla_tpose_t;
00077 
00078 
00079 #define FLA_Cntl_sub_axpy( cntl )     cntl->sub_axpy
00080 #define FLA_Cntl_sub_copy( cntl )     cntl->sub_copy
00081 #define FLA_Cntl_sub_swap( cntl )     cntl->sub_swap
00082 #define FLA_Cntl_sub_trans( cntl )    cntl->sub_trans
00083 
00084 
00085 fla_axpy_t* FLA_Cntl_axpy_obj_create( FLA_Matrix_type  matrix_type,
00086                                       int              variant,
00087                                       fla_blocksize_t* blocksize,
00088                                       fla_axpy_t*      sub_axpy );
00089 fla_copy_t* FLA_Cntl_copy_obj_create( FLA_Matrix_type  matrix_type,
00090                                       int              variant,
00091                                       fla_blocksize_t* blocksize,
00092                                       fla_copy_t*      sub_copy );
00093 fla_swap_t* FLA_Cntl_swap_obj_create( FLA_Matrix_type  matrix_type,
00094                                       int              variant,
00095                                       fla_blocksize_t* blocksize,
00096                                       fla_swap_t*      sub_swap );
00097 fla_tpose_t* FLA_Cntl_tpose_obj_create( FLA_Matrix_type  matrix_type,
00098                                         int              variant,
00099                                         fla_blocksize_t* blocksize,
00100                                         fla_tpose_t*     sub_trans,
00101                                         fla_swap_t*      sub_swap );
00102 

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