Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/openblas_config.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #ifndef OPENBLAS_CONFIG_H
0002 #define OPENBLAS_CONFIG_H
0003 #define OPENBLAS_OS_LINUX 1
0004 #define OPENBLAS_ARCH_X86_64 1
0005 #define OPENBLAS_C_GCC 1
0006 #define OPENBLAS___64BIT__ 1
0007 #define OPENBLAS_HAVE_C11 1
0008 #define OPENBLAS_PTHREAD_CREATE_FUNC pthread_create
0009 #define OPENBLAS_BUNDERSCORE _
0010 #define OPENBLAS_NEEDBUNDERSCORE 1
0011 #define OPENBLAS_GENERIC 
0012 #define OPENBLAS_L1_DATA_SIZE 32768
0013 #define OPENBLAS_L1_DATA_LINESIZE 128
0014 #define OPENBLAS_L2_SIZE 512488
0015 #define OPENBLAS_L2_LINESIZE 128
0016 #define OPENBLAS_DTB_DEFAULT_ENTRIES 128
0017 #define OPENBLAS_DTB_SIZE 4096
0018 #define OPENBLAS_L2_ASSOCIATIVE 8
0019 #define OPENBLAS_CORE_generic 
0020 #define OPENBLAS_CHAR_CORENAME "generic"
0021 #define OPENBLAS_SLOCAL_BUFFER_SIZE 4096
0022 #define OPENBLAS_DLOCAL_BUFFER_SIZE 4096
0023 #define OPENBLAS_CLOCAL_BUFFER_SIZE 8192
0024 #define OPENBLAS_ZLOCAL_BUFFER_SIZE 8192
0025 #define OPENBLAS_GEMM_MULTITHREAD_THRESHOLD 4
0026 #define OPENBLAS_VERSION " OpenBLAS 0.3.29 "
0027 /*This is only for "make install" target.*/
0028 
0029 #if defined(OPENBLAS_OS_WINNT) || defined(OPENBLAS_OS_CYGWIN_NT) || defined(OPENBLAS_OS_INTERIX)
0030 #define OPENBLAS_WINDOWS_ABI
0031 #define OPENBLAS_OS_WINDOWS
0032 
0033 #ifdef DOUBLE
0034 #define DOUBLE_DEFINED DOUBLE
0035 #undef  DOUBLE
0036 #endif
0037 #endif
0038 
0039 #ifdef OPENBLAS_NEEDBUNDERSCORE
0040 #define BLASFUNC(FUNC) FUNC##_
0041 #else
0042 #define BLASFUNC(FUNC) FUNC
0043 #endif
0044 
0045 #ifdef OPENBLAS_QUAD_PRECISION
0046 typedef struct {
0047   unsigned long x[2];
0048 }  xdouble;
0049 #elif defined OPENBLAS_EXPRECISION
0050 #define xdouble long double
0051 #else
0052 #define xdouble double
0053 #endif
0054 
0055 #if defined(OPENBLAS_OS_WINDOWS) && defined(OPENBLAS___64BIT__)
0056 typedef long long BLASLONG;
0057 typedef unsigned long long BLASULONG;
0058 #else
0059 typedef long BLASLONG;
0060 typedef unsigned long BLASULONG;
0061 #endif
0062 
0063 #ifndef BFLOAT16
0064 #include <stdint.h>
0065 typedef uint16_t bfloat16;
0066 #endif
0067 
0068 #ifdef OPENBLAS_USE64BITINT
0069 typedef BLASLONG blasint;
0070 #else
0071 typedef int blasint;
0072 #endif
0073 
0074 #if defined(XDOUBLE) || defined(DOUBLE)
0075 #define FLOATRET    FLOAT
0076 #else
0077 #ifdef NEED_F2CCONV
0078 #define FLOATRET    double
0079 #else
0080 #define FLOATRET    float
0081 #endif
0082 #endif
0083 
0084 /* Inclusion of a standard header file is needed for definition of __STDC_*
0085    predefined macros with some compilers (e.g. GCC 4.7 on Linux).  This occurs
0086    as a side effect of including either <features.h> or <stdc-predef.h>. */
0087 #include <stdio.h>
0088 
0089 /* C99 supports complex floating numbers natively, which GCC also offers as an
0090    extension since version 3.0.  If neither are available, use a compatible
0091    structure as fallback (see Clause 6.2.5.13 of the C99 standard). */
0092 #if ((defined(__STDC_IEC_559_COMPLEX__) || __STDC_VERSION__ >= 199901L || \
0093       (__GNUC__ >= 3 && !defined(__cplusplus))) && !(defined(FORCE_OPENBLAS_COMPLEX_STRUCT))) && !defined(_MSC_VER)
0094   #define OPENBLAS_COMPLEX_C99
0095 #ifndef __cplusplus
0096   #include <complex.h>
0097 #endif
0098   typedef float _Complex openblas_complex_float;
0099   typedef double _Complex openblas_complex_double;
0100   typedef xdouble _Complex openblas_complex_xdouble;
0101   #define openblas_make_complex_float(real, imag)    ((real) + ((imag) * _Complex_I))
0102   #define openblas_make_complex_double(real, imag)   ((real) + ((imag) * _Complex_I))
0103   #define openblas_make_complex_xdouble(real, imag)  ((real) + ((imag) * _Complex_I))
0104   #define openblas_complex_float_real(z)             (creal(z))
0105   #define openblas_complex_float_imag(z)             (cimag(z))
0106   #define openblas_complex_double_real(z)            (creal(z))
0107   #define openblas_complex_double_imag(z)            (cimag(z))
0108   #define openblas_complex_xdouble_real(z)           (creal(z))
0109   #define openblas_complex_xdouble_imag(z)           (cimag(z))
0110 #else
0111   #define OPENBLAS_COMPLEX_STRUCT
0112   typedef struct { float real, imag; } openblas_complex_float;
0113   typedef struct { double real, imag; } openblas_complex_double;
0114   typedef struct { xdouble real, imag; } openblas_complex_xdouble;
0115   #define openblas_make_complex_float(real, imag)    {(real), (imag)}
0116   #define openblas_make_complex_double(real, imag)   {(real), (imag)}
0117   #define openblas_make_complex_xdouble(real, imag)  {(real), (imag)}
0118   #define openblas_complex_float_real(z)             ((z).real)
0119   #define openblas_complex_float_imag(z)             ((z).imag)
0120   #define openblas_complex_double_real(z)            ((z).real)
0121   #define openblas_complex_double_imag(z)            ((z).imag)
0122   #define openblas_complex_xdouble_real(z)           ((z).real)
0123   #define openblas_complex_xdouble_imag(z)           ((z).imag)
0124 #endif
0125 
0126 /* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */
0127 #ifdef OPENBLAS_OS_LINUX
0128 #ifndef _GNU_SOURCE
0129  #define _GNU_SOURCE
0130 #endif
0131 #include <sched.h>
0132 #endif
0133 #endif /* OPENBLAS_CONFIG_H */