From faa73690e4463fb6fae394207dfe0e4b6e51a094 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Tue, 12 Apr 2016 11:49:28 -0400 Subject: [PATCH] Delete LOCAL_BUFFER_SIZE for other architectures. --- getarch_2nd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/getarch_2nd.c b/getarch_2nd.c index fad647f..cf9c578 100644 --- a/getarch_2nd.c +++ b/getarch_2nd.c @@ -64,10 +64,13 @@ int main(int argc, char **argv) { if ((argc >= 2) && (*argv[1] == '1')) { + +#if defined(ARCH_X86) || defined(ARCH_X86_64) printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); 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))); +#endif #ifdef USE64BITINT printf("#define USE64BITINT\n"); -- 2.7.4