libflame revision_anchor
blis_type_defs.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 BLIS_TYPE_DEFS_H
00034 #define BLIS_TYPE_DEFS_H
00035 
00036 // --- Basic type definitions -------------------------------------------------
00037 
00038 
00039 
00040 // --- Complex type definitions -----------------------------------------------
00041 
00042 // Only define complex types if they are not already provided by libflame.
00043 #ifndef BLIS_ENABLE_USE_OF_LIBFLAME_TYPES
00044 
00045 typedef struct scomplex
00046 {
00047   float real, imag;
00048 } scomplex;
00049 
00050 typedef struct dcomplex
00051 {
00052   double real, imag;
00053 } dcomplex;
00054 
00055 #endif
00056 
00057 
00058 #endif // BLIS_TYPE_DEFS_H