Browse Source

Merge branch 'develop' into loongson3a

tags/v0.1.0^2
Xianyi Zhang 14 years ago
parent
commit
dc9c69db93
7 changed files with 52 additions and 4 deletions
  1. +8
    -0
      Changelog.txt
  2. +11
    -1
      Makefile
  3. +1
    -1
      Makefile.rule
  4. +1
    -1
      Makefile.system
  5. +0
    -1
      README
  6. +11
    -0
      common_interface.h
  7. +20
    -0
      openblas_config_template.h

+ 8
- 0
Changelog.txt View File

@@ -1,4 +1,12 @@
OpenBLAS ChangeLog
====================================================================
Version 0.1 alpha2.2
14-Jul-2011

common:
* Fixed a building bug when DYNAMIC_ARCH=1 & INTERFACE64=1.
(Refs issue #44 on github)

====================================================================
Version 0.1 alpha2.1
28-Jun-2011


+ 11
- 1
Makefile View File

@@ -31,7 +31,7 @@ SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench

all :: libs netlib tests shared
@echo
@echo " GotoBLAS build complete."
@echo " OpenBLAS build complete."
@echo
@echo " OS ... $(OSNAME) "
@echo " Architecture ... $(ARCH) "
@@ -39,6 +39,9 @@ ifndef BINARY64
@echo " BINARY ... 32bit "
else
@echo " BINARY ... 64bit "
endif
ifdef INTERFACE64
@echo " Use 64 bits int (equivalent to \"-i8\" in Fortran) "
endif
@echo " C compiler ... $(C_COMPILER) (command line : $(CC))"
@echo " Fortran compiler ... $(F_COMPILER) (command line : $(FC))"
@@ -115,6 +118,13 @@ endif
#Save the config files for installation
cp Makefile.conf Makefile.conf_last
cp config.h config_last.h
ifdef QUAD_PRECISION
echo "#define QUAD_PRECISION">> config_last.h
endif
ifeq ($(EXPRECISION), 1)
echo "#define EXPRECISION">> config_last.h
endif
##
ifdef DYNAMIC_ARCH
$(MAKE) -C kernel commonlibs || exit 1
for d in $(DYNAMIC_CORE) ; \


+ 1
- 1
Makefile.rule View File

@@ -3,7 +3,7 @@
#

# This library's version
VERSION = 0.1alpha2.1
VERSION = 0.1alpha2.2

# You can specify the target architecture, otherwise it's
# automatically detected.


+ 1
- 1
Makefile.system View File

@@ -39,7 +39,7 @@ ifndef GOTOBLAS_MAKEFILE
export GOTOBLAS_MAKEFILE = 1

# Generating Makefile.conf and config.h
DUMMY := $(shell $(MAKE) -C $(TOPDIR) -f Makefile.getarch CC="$(CC)" FC="$(FC)" HOSTCC="$(HOSTCC)" CFLAGS=$(GETARCH_FLAGS) BINARY=$(BINARY) USE_OPENMP=$(USE_OPENMP) TARGET_CORE=$(TARGET_CORE) all)
DUMMY := $(shell $(MAKE) -C $(TOPDIR) -f Makefile.getarch CC="$(CC)" FC="$(FC)" HOSTCC="$(HOSTCC)" CFLAGS="$(GETARCH_FLAGS)" BINARY=$(BINARY) USE_OPENMP=$(USE_OPENMP) TARGET_CORE=$(TARGET_CORE) all)

ifndef TARGET_CORE
include $(TOPDIR)/Makefile.conf


+ 0
- 1
README View File

@@ -72,7 +72,6 @@ Please see Changelog.txt to obtain the differences between GotoBLAS2 1.13 BSD ve
9.Known Issues
* The number of CPUs/Cores should less than or equal to 8*sizeof(unsigned long). On 64 bits, the limit
is 64. On 32 bits, it is 32.
* This library is not compatible with EKOPath Compiler Suite 4.0.10 (http://www.pathscale.com/ekopath-compiler-suite). However, Path64 (https://github.com/path64/compiler) could compile the codes successfully.

10. Specification of Git Branches
We used the git branching model in this article (http://nvie.com/posts/a-successful-git-branching-model/).


+ 11
- 0
common_interface.h View File

@@ -38,6 +38,11 @@

#ifndef ASSEMBLER

#ifdef __cplusplus
extern "C" {
/* Assume C declarations for C++ */
#endif /* __cplusplus */

int BLASFUNC(xerbla)(char *, blasint *info, blasint);

FLOATRET BLASFUNC(sdot) (blasint *, float *, blasint *, float *, blasint *);
@@ -733,4 +738,10 @@ xdouble BLASFUNC(qlamch)(char *);
FLOATRET BLASFUNC(slamc3)(float *, float *);
double BLASFUNC(dlamc3)(double *, double *);
xdouble BLASFUNC(qlamc3)(xdouble *, xdouble *);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif

+ 20
- 0
openblas_config_template.h View File

@@ -6,6 +6,16 @@
#define BLASFUNC(FUNC) FUNC
#endif

#ifdef QUAD_PRECISION
typedef struct {
unsigned long x[2];
} xdouble;
#elif defined EXPRECISION
#define xdouble long double
#else
#define xdouble double
#endif

#if defined(OS_WINDOWS) && defined(__64BIT__)
typedef long long BLASLONG;
typedef unsigned long long BLASULONG;
@@ -19,3 +29,13 @@ typedef BLASLONG blasint;
#else
typedef int blasint;
#endif

#if defined(XDOUBLE) || defined(DOUBLE)
#define FLOATRET FLOAT
#else
#ifdef NEED_F2CCONV
#define FLOATRET double
#else
#define FLOATRET float
#endif
#endif

Loading…
Cancel
Save