]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
cmake: Factor out CPU architecture detection (llama/13883)
authorChristian Kastner <redacted>
Thu, 29 May 2025 10:50:25 +0000 (12:50 +0200)
committerGeorgi Gerganov <redacted>
Sun, 1 Jun 2025 11:01:05 +0000 (14:01 +0300)
commit42b545ba42175ba87406594727708644cd279c30
tree2c4d30d9966900410721ad178bae34ddabe0efed
parent9d18cb7a7d37279dd44a004836b006a836c44594
cmake: Factor out CPU architecture detection (llama/13883)

* cmake: Define function for querying architecture

The tests and results match exactly those of src/CMakeLists.txt

* Switch arch detection over to new function
cmake/common.cmake
src/CMakeLists.txt
src/ggml-cpu/CMakeLists.txt