@@ -3,7 +3,8 @@ OpenBLAS ChangeLog | |||||
Version 0.1 alpha2(in development) | Version 0.1 alpha2(in development) | ||||
common: | common: | ||||
* | |||||
* Fixed blasint undefined bug in <cblas.h> file. Other software | |||||
could include this header successfully(Refs issue #13 on github) | |||||
x86/x86_64: | x86/x86_64: | ||||
* | * | ||||
MIPS64: | MIPS64: | ||||
@@ -30,6 +30,10 @@ ifdef TARGET | |||||
GETARCH_FLAGS += -DFORCE_$(TARGET) | GETARCH_FLAGS += -DFORCE_$(TARGET) | ||||
endif | endif | ||||
ifdef INTERFACE64 | |||||
GETARCH_FLAGS += -DUSE64BITINT | |||||
endif | |||||
# This operation is expensive, so execution should be once. | # This operation is expensive, so execution should be once. | ||||
ifndef GOTOBLAS_MAKEFILE | ifndef GOTOBLAS_MAKEFILE | ||||
export GOTOBLAS_MAKEFILE = 1 | export GOTOBLAS_MAKEFILE = 1 | ||||
@@ -489,7 +493,8 @@ endif | |||||
ifdef BINARY64 | ifdef BINARY64 | ||||
ifdef INTERFACE64 | ifdef INTERFACE64 | ||||
CCOMMON_OPT += -DUSE64BITINT | |||||
CCOMMON_OPT += | |||||
#-DUSE64BITINT | |||||
endif | endif | ||||
endif | endif | ||||
@@ -1,6 +1,9 @@ | |||||
#ifndef CBLAS_H | #ifndef CBLAS_H | ||||
#define CBLAS_H | #define CBLAS_H | ||||
#include <stddef.h> | |||||
#include "common.h" | |||||
#define CBLAS_INDEX size_t | #define CBLAS_INDEX size_t | ||||
enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102}; | enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102}; | ||||
@@ -30,6 +30,10 @@ int main(int argc, char **argv) { | |||||
printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); | printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); | ||||
printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); | printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); | ||||
printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); | printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); | ||||
#ifdef USE64BITINT | |||||
printf("#define USE64BITINT\n"); | |||||
#endif | |||||
} | } | ||||
return 0; | return 0; | ||||