set parameters for CORE_ATHLON
else dgemm_p is set to zero leading to a segfault in alloc_mmap due to allocsize being zero
This commit is contained in:
parent
e01b3d4b54
commit
9fb341a9f8
|
@ -634,10 +634,10 @@ static void init_parameter(void) {
|
||||||
TABLE_NAME.xgemm_q = XGEMM_DEFAULT_Q;
|
TABLE_NAME.xgemm_q = XGEMM_DEFAULT_Q;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CORE_KATMAI) || defined(CORE_COPPERMINE) || defined(CORE_BANIAS) || defined(CORE_YONAH)
|
#if defined(CORE_KATMAI) || defined(CORE_COPPERMINE) || defined(CORE_BANIAS) || defined(CORE_YONAH) || defined(CORE_ATHLON)
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "Katmai, Coppermine, Banias\n");
|
fprintf(stderr, "Katmai, Coppermine, Banias, Athlon\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
TABLE_NAME.sgemm_p = 64 * (l2 >> 7);
|
TABLE_NAME.sgemm_p = 64 * (l2 >> 7);
|
||||||
|
|
Loading…
Reference in New Issue