libflame  12600
FLAME.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) 2011, 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 #ifndef FLAME_H
00034 #define FLAME_H
00035 
00036 // Allow C++ users to include this header file in their source code. However,
00037 // we make the extern "C" conditional on whether we're using a C++ compiler,
00038 // since regular C compilers don't understand the extern "C" construct.
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif 
00042 
00043   // Include autoconf-related preprocessor defines.
00044   #include "FLA_config.h"
00045   #include "FLA_config_check.h"
00046 
00047   // Include standard C header files.
00048   #include <stdio.h>
00049   #include <stdlib.h>
00050   #include <stdarg.h>
00051   #include <string.h>
00052   #ifdef FLA_ENABLE_WINDOWS_BUILD
00053     #include <windows.h>
00054   #else
00055   #ifndef FLA_ENABLE_TIDSP
00056     // TI CG does not support POSIX
00057     #include <unistd.h>
00058     #include <fcntl.h>
00059     #include <sys/types.h>
00060   #endif
00061   #endif
00062   #include <math.h>
00063   #include <float.h>
00064   #include <signal.h>
00065 
00066   // Include prototypes for BLAS-like interfaces.
00067   #ifndef BLIS1_FROM_LIBFLAME
00068     #define BLIS1_FROM_LIBFLAME
00069   #endif
00070   #include "blis1.h"
00071 
00072   // Include f2c definitions.
00073   #include "FLA_f2c.h"
00074 
00075   // Include general FLAME macro and _PTR macro definitions.
00076   #include "FLA_macro_defs.h"
00077   #include "FLA_macro_ptr_defs.h"
00078 
00079   // Include general FLAME type definitions, including those for FLA_Obj.
00080   #include "FLA_type_defs.h"
00081 
00082   // Include "extern" definitions for global FLAME scalar constants.
00083   #include "FLA_extern_defs.h"
00084 
00085   // Include control tree structure definitions, utility prototypes, and
00086   // initialization prototypes.
00087   #include "FLA_Cntl.h"
00088   #include "FLA_Cntl_init.h"
00089 
00090   // Include prototypes for base FLAME routines.
00091   #include "FLA_main_prototypes.h"
00092   #include "FLA_util_base_prototypes.h"
00093   #include "FLA_util_lapack_prototypes.h"
00094 
00095   // Include prototypes for FLAME interfaces to BLAS and LAPACK operations.
00096   #include "FLA_blas1_prototypes.h"
00097   #include "FLA_blas2_prototypes.h"
00098   #include "FLA_blas3_prototypes.h"
00099   #include "FLA_lapack_prototypes.h"
00100 
00101   // Include prototypes for FLAME implementations of BLAS and LAPACK operations.
00102   #include "FLA_blas_var_prototypes.h"
00103   #include "FLA_lapack_var_prototypes.h"
00104 
00105   // Include FLASH headers.
00106   #include "FLASH.h"
00107 
00108   // Include SuperMatrix headers.
00109   #include "FLASH_Queue.h"
00110 
00111   // Include Fortran name-mangling macro (if not already defined).
00112   #include "FLA_f77_name_mangling.h"
00113 
00114   // Include prototypes for LAPACK routines.
00115   #include "FLA_lapack_f77_prototypes.h"
00116 
00117   // Include prototypes for LAPACK routines.
00118   //#include "FLA_lapack_f77_macro_defs.h"
00119 
00120 // End extern "C" construct block.
00121 #ifdef __cplusplus
00122 }
00123 #endif 
00124 
00125 #endif
00126