]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : add support for cpu_get_num_physical_cores() on Windows (#8771)
authorLiu Jia <redacted>
Fri, 16 Aug 2024 06:23:12 +0000 (14:23 +0800)
committerGitHub <redacted>
Fri, 16 Aug 2024 06:23:12 +0000 (09:23 +0300)
commitfb487bb5671b37267f35ff43fe8849ddccd925cd
tree19914656b0ccf0b77fff485d8a7b299729ab258e
parent2a24c8caa6d10a7263ca317fa7cb64f0edc72aae
common : add support for cpu_get_num_physical_cores() on Windows (#8771)

* Add support for cpu_get_num_phsical_cores() on Windows

* fix build bug on msys2-clang64 and ucrt64

* avoid adding new function

* add new macros to avoid windows+mingw64

* Add error checking to return default value
common/common.cpp