|
|
在一开始编译的时候就出错了,openblas一直编译不过去,不知道什么原因?
- ==================== Getting proc arch info using OpenBLAS tools ====================
- OpenBLAS-0.3.10.tar.gz is found
- getarch_2nd.c: In function ‘main’:
- getarch_2nd.c:14:35: error: ‘SGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
- printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
- ^
- getarch_2nd.c:14:35: note: each undeclared identifier is reported only once for each function it appears in
- getarch_2nd.c:15:35: error: ‘SGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
- printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
- ^
- getarch_2nd.c:16:35: error: ‘DGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
- printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
- ^
- getarch_2nd.c:17:35: error: ‘DGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
- printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
- ^
- getarch_2nd.c:21:35: error: ‘CGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
- printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);
- ^
- getarch_2nd.c:22:35: error: ‘CGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
- printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);
- ^
- getarch_2nd.c:23:35: error: ‘ZGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
- printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);
- ^
- getarch_2nd.c:24:35: error: ‘ZGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
- printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);
- ^
- getarch_2nd.c:71:50: error: ‘SGEMM_DEFAULT_Q’ undeclared (first use in this function)
- printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float)));
- ^
- getarch_2nd.c:72:50: error: ‘DGEMM_DEFAULT_Q’ undeclared (first use in this function)
- printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double)));
- ^
- getarch_2nd.c:73:50: error: ‘CGEMM_DEFAULT_Q’ undeclared (first use in this function)
- printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float)));
- ^
- getarch_2nd.c:74:50: error: ‘ZGEMM_DEFAULT_Q’ undeclared (first use in this function)
- printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double)));
- ^
- make: *** [getarch_2nd] Error 1
- OpenBLAS detected LIBCORE = unknown
- OpenBLAS detected ARCH = x86_64
复制代码
|
|