]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
fix get_num_physical_cores() (#1436)
authorzrm <redacted>
Mon, 15 May 2023 02:25:42 +0000 (22:25 -0400)
committerGitHub <redacted>
Mon, 15 May 2023 02:25:42 +0000 (04:25 +0200)
commit63d20469b85467c5729cc9a97bd44cc3da63423f
tree47abe8b5d3945e328262991589a253edb369a6d6
parentb5c9295eef2b56e307393b35b3a923e3518d226e
fix get_num_physical_cores() (#1436)

* fix get_num_physical_cores()
had been broken on complex topologies because "cpu cores" in /proc/cpuinfo is per-"physical id"

* Add spaces to maintain consistent formatting

---------

Co-authored-by: slaren <redacted>
examples/common.cpp