-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingbuildCompilation issuesCompilation issueshigh priorityVery important issueVery important issuestale
Description
When running cmake
the default configuration sets AVX2 to be ON even when the current cpu does not support it.
AVX vs AVX2 is handled correctly in the plain makefile.
For cmake, the AVX2 has to be turned off via cmake -DLLAMA_AVX2=off .
for the compiled binary to work on AVX-only system.
Can we make the cmake file smarter about whether to enable or disable AVX2 by looking at the current architecture?
2187Nick, JDunn3 and gabacode
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbuildCompilation issuesCompilation issueshigh priorityVery important issueVery important issuestale