libflame revision_anchor
|
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 //#include "FLA_win_types.h" 00055 #else 00056 #include <unistd.h> 00057 #include <fcntl.h> 00058 #include <sys/types.h> 00059 #endif 00060 #include <math.h> 00061 #include <signal.h> 00062 00063 // Include general FLAME macro and _PTR macro definitions. 00064 #include "FLA_macro_defs.h" 00065 #include "FLA_macro_ptr_defs.h" 00066 00067 // Include general FLAME type definitions, including those for FLA_Obj. 00068 #include "FLA_type_defs.h" 00069 00070 // Include "extern" definitions for global FLAME scalar constants. 00071 #include "FLA_extern_defs.h" 00072 00073 // Include control tree structure definitions, utility prototypes, and 00074 // initialization prototypes. 00075 #include "FLA_Cntl.h" 00076 #include "FLA_Cntl_init.h" 00077 00078 // Include prototypes for base FLAME routines. 00079 #include "FLA_main_prototypes.h" 00080 #include "FLA_util_base_prototypes.h" 00081 #include "FLA_util_lapack_prototypes.h" 00082 00083 // Include prototypes for FLAME interfaces to BLAS and LAPACK operations. 00084 #include "FLA_blas1_prototypes.h" 00085 #include "FLA_blas2_prototypes.h" 00086 #include "FLA_blas3_prototypes.h" 00087 #include "FLA_lapack_prototypes.h" 00088 00089 // Include prototypes for FLAME implementations of BLAS and LAPACK operations. 00090 #include "FLA_blas_var_prototypes.h" 00091 #include "FLA_lapack_var_prototypes.h" 00092 00093 // Include FLASH headers. 00094 #include "FLASH.h" 00095 00096 // Include SuperMatrix headers. 00097 #include "FLASH_Queue.h" 00098 00099 // Include Fortran name-mangling macro (if not already defined). 00100 #include "FLA_f77_name_mangling.h" 00101 00102 // Include prototypes for LAPACK routines. 00103 #include "FLA_lapack_f77_prototypes.h" 00104 00105 // Include prototypes for BLAS-like interfaces. 00106 #include "blis.h" 00107 00108 // End extern "C" construct block. 00109 #ifdef __cplusplus 00110 } 00111 #endif 00112 00113 #endif 00114