BeBOP Optimized Sparse Kernel Interface Library  1.0.1h
oski.h
Go to the documentation of this file.
00001 
00008 #if !defined(INC_OSKI_H)
00009 
00012 #if !defined(OSKI_CC)
00013 #  define OSKI_CC "i586-alt-linux-gcc"
00014 #endif
00015 #if !defined(OSKI_CFLAGS)
00016 #  define OSKI_CFLAGS "-pipe -Wall -g -O2 -march=i586 -mtune=i686 -std=c99"
00017 #endif
00018 #if !defined(OSKI_LDFLAGS)
00019 #  define OSKI_LDFLAGS " -lm"
00020 #endif
00021 #if !defined(OSKI_BUILD_HOST)
00022 #  define OSKI_BUILD_HOST "i586-alt-linux-gnu"
00023 #endif
00024 #if !defined(OSKI_PREFIX)
00025 #  define OSKI_PREFIX "/usr"
00026 #endif
00027 #if !defined(OSKI_VERSION)
00028 #  define OSKI_VERSION "1.0.1h"
00029 #endif
00030 
00032 #if !defined(DO_NAME_MANGLING)
00033 
00034 #  define DO_NAME_MANGLING
00035 #endif
00036 
00037 #if !defined(DEF_IND_TYPE)
00038 
00045 #  define DEF_IND_TYPE 1
00046 #endif
00047 
00048 #if !defined(DEF_VAL_TYPE)
00049 
00058 #  define DEF_VAL_TYPE 2
00059 #endif
00060 
00061 #undef IND_TAG_CHAR
00062 #if DEF_IND_TYPE == 1
00063 #  define IND_TAG_CHAR 'i' 
00064 #elif DEF_IND_TYPE == 2
00065 #  define IND_TAG_CHAR 'l' 
00066 #else
00067 #  error "Unknown value for DEF_IND_TYPE"
00068 #endif
00069 
00070 #undef VAL_TAG_CHAR
00071 #if DEF_VAL_TYPE == 1
00072 #  define VAL_TAG_CHAR 's' 
00073 #elif DEF_VAL_TYPE == 2
00074 #  define VAL_TAG_CHAR 'd' 
00075 #elif DEF_VAL_TYPE == 3
00076 #  define VAL_TAG_CHAR 'c' 
00077 #elif DEF_VAL_TYPE == 4
00078 #  define VAL_TAG_CHAR 'z' 
00079 #else
00080 #  error "Unknown value for DEF_VAL_TYPE"
00081 #endif
00082 
00083 #endif /* !defined(INC_OSKI_H) */
00084 
00085 #if !defined(INC_OSKI_H) || defined(OSKI_UNBIND)
00086 
00087 #define INC_OSKI_H
00088 
00089 #include <oski/common.h>
00090 
00091 /* Basics */
00092 #include <oski/matrix.h>
00093 #include <oski/vecview.h>
00094 #include <oski/matcreate.h>
00095 
00096 #include <oski/getset.h>
00097 
00098 /* Kernels */
00099 #include <oski/matmult.h>
00100 #include <oski/trisolve.h>
00101 #include <oski/ata.h>
00102 #include <oski/a_and_at.h>
00103 #include <oski/matpow.h>
00104 
00105 /* Tuning support */
00106 #include <oski/hint.h>
00107 #include <oski/tune.h>
00108 
00109 /* Permutations */
00110 #include <oski/perm.h>
00111 
00112 #endif /* !defined(INC_OSKI_H) || defined(OSKI_UNBIND) */
00113 
00114 #if defined(OSKI_UNBIND)
00115 #  undef INC_OSKI_H
00116 #  undef DEF_IND_TYPE
00117 #  undef DEF_VAL_TYPE
00118 #  undef IND_TAG_CHAR
00119 #  undef VAL_TAG_CHAR
00120 #endif
00121 
00122 /* eof */