Version 0.1 alpha2(in development)
common:
- *
+ * Fixed blasint undefined bug in <cblas.h> file. Other software
+ could include this header successfully(Refs issue #13 on github)
x86/x86_64:
*
MIPS64:
GETARCH_FLAGS += -DFORCE_$(TARGET)
endif
+ifdef INTERFACE64
+GETARCH_FLAGS += -DUSE64BITINT
+endif
+
# This operation is expensive, so execution should be once.
ifndef GOTOBLAS_MAKEFILE
export GOTOBLAS_MAKEFILE = 1
ifdef BINARY64
ifdef INTERFACE64
-CCOMMON_OPT += -DUSE64BITINT
+CCOMMON_OPT +=
+#-DUSE64BITINT
endif
endif
#ifndef CBLAS_H
#define CBLAS_H
+#include <stddef.h>
+#include "common.h"
+
#define CBLAS_INDEX size_t
enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102};
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 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;