|
|
@@ -52,6 +52,9 @@ static gotoblas_t *get_coretype(void) { |
|
|
if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")) |
|
|
if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")) |
|
|
return &gotoblas_POWER10; |
|
|
return &gotoblas_POWER10; |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */ |
|
|
|
|
|
if (__builtin_cpu_is("power10")) |
|
|
|
|
|
return &gotoblas_POWER9; |
|
|
return NULL; |
|
|
return NULL; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|