whisper : document POWER VSX support

This commit is contained in:
Thomas Fitzsimmons
2023-01-04 23:00:30 -05:00
committed by Georgi Gerganov
parent 49a8dd6732
commit 1944e7c33e
4 changed files with 11 additions and 0 deletions

8
ggml.c
View File

@ -8232,4 +8232,12 @@ int ggml_cpu_has_blas(void) {
#endif
}
int ggml_cpu_has_vsx(void) {
#if defined(__POWER9_VECTOR__)
return 1;
#else
return 0;
#endif
}
////////////////////////////////////////////////////////////////////////////////