File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 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) {
2051620516#endif
2051720517}
2051820518
20519+ int ggml_cpu_has_ssse3(void) {
20520+ #if defined(__SSSE3__)
20521+ return 1;
20522+ #else
20523+ return 0;
20524+ #endif
20525+ }
20526+
2051920527int ggml_cpu_has_vsx(void) {
2052020528#if defined(__POWER9_VECTOR__)
2052120529 return 1;
Original file line number Diff line number Diff line change @@ -1944,6 +1944,7 @@ extern "C" {
19441944 GGML_API int ggml_cpu_has_clblast (void );
19451945 GGML_API int ggml_cpu_has_gpublas (void );
19461946 GGML_API int ggml_cpu_has_sse3 (void );
1947+ GGML_API int ggml_cpu_has_ssse3 (void );
19471948 GGML_API int ggml_cpu_has_vsx (void );
19481949
19491950 //
Original file line number Diff line number Diff line change @@ -6194,6 +6194,7 @@ const char * llama_print_system_info(void) {
61946194 s += " WASM_SIMD = " + std::to_string (ggml_cpu_has_wasm_simd ()) + " | " ;
61956195 s += " BLAS = " + std::to_string (ggml_cpu_has_blas ()) + " | " ;
61966196 s += " SSE3 = " + std::to_string (ggml_cpu_has_sse3 ()) + " | " ;
6197+ s += " SSSE3 = " + std::to_string (ggml_cpu_has_ssse3 ()) + " | " ;
61976198 s += " VSX = " + std::to_string (ggml_cpu_has_vsx ()) + " | " ;
61986199
61996200 return s.c_str ();
You can’t perform that action at this time.
0 commit comments