File tree 3 files changed +10
-0
lines changed 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -20516,6 +20516,14 @@ int ggml_cpu_has_sse3(void) {
20516
20516
#endif
20517
20517
}
20518
20518
20519
+ int ggml_cpu_has_ssse3(void) {
20520
+ #if defined(__SSSE3__)
20521
+ return 1;
20522
+ #else
20523
+ return 0;
20524
+ #endif
20525
+ }
20526
+
20519
20527
int ggml_cpu_has_vsx(void) {
20520
20528
#if defined(__POWER9_VECTOR__)
20521
20529
return 1;
Original file line number Diff line number Diff line change @@ -1944,6 +1944,7 @@ extern "C" {
1944
1944
GGML_API int ggml_cpu_has_clblast (void );
1945
1945
GGML_API int ggml_cpu_has_gpublas (void );
1946
1946
GGML_API int ggml_cpu_has_sse3 (void );
1947
+ GGML_API int ggml_cpu_has_ssse3 (void );
1947
1948
GGML_API int ggml_cpu_has_vsx (void );
1948
1949
1949
1950
//
Original file line number Diff line number Diff line change @@ -6194,6 +6194,7 @@ const char * llama_print_system_info(void) {
6194
6194
s += " WASM_SIMD = " + std::to_string (ggml_cpu_has_wasm_simd ()) + " | " ;
6195
6195
s += " BLAS = " + std::to_string (ggml_cpu_has_blas ()) + " | " ;
6196
6196
s += " SSE3 = " + std::to_string (ggml_cpu_has_sse3 ()) + " | " ;
6197
+ s += " SSSE3 = " + std::to_string (ggml_cpu_has_ssse3 ()) + " | " ;
6197
6198
s += " VSX = " + std::to_string (ggml_cpu_has_vsx ()) + " | " ;
6198
6199
6199
6200
return s.c_str ();
You can’t perform that action at this time.
0 commit comments