Browse Source

Delete LOCAL_BUFFER_SIZE for other architectures.

tags/v0.2.18^2
Zhang Xianyi 9 years ago
parent
commit
faa73690e4
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      getarch_2nd.c

+ 3
- 0
getarch_2nd.c View File

@@ -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");


Loading…
Cancel
Save