Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added vnni512; removed forced bmi2 on CPUS with vnni for AVX-512 #1583

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,15 @@ def find_arch(compiler):
and "apple-silicon" in targets
):
arch = "apple-silicon"
elif (
"avx512vnni" in props["flags"]
and "avx512dq" in props["flags"]
and "avx512f" in props["flags"]
and "avx512bw" in props["flags"]
and "avx512vl" in props["flags"]
and "x86-64-vnni512" in targets
):
arch = "x86-64-vnni512"
elif (
"avx512vnni" in props["flags"]
and "avx512dq" in props["flags"]
Expand All @@ -556,7 +565,6 @@ def find_arch(compiler):
and "x86-64-avx512" in targets
):
arch = "x86-64-avx512"
arch = "x86-64-bmi2" # use bmi2 until avx512 performance becomes actually better
elif "avxvnni" in props["flags"] and "x86-64-avxvnni" in targets:
arch = "x86-64-avxvnni"
elif (
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 197, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "/Lu4ip+T1nwF1Wi7yEIIfhUwn0VPz6P7Z/flcnJWIWLjxliLmyLFJAoYHTStaShc", "games.py": "U/LQtRw/dlRyIgOYz+ioiACLnn9Qu/laZOaenm61HHglhcAYpVysgNLlO9bvhFGD"}
{"__version": 197, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "/Lu4ip+T1nwF1Wi7yEIIfhUwn0VPz6P7Z/flcnJWIWLjxliLmyLFJAoYHTStaShc", "games.py": "3ZV63RPt62Vas1tdehdLwzfPqdS5a4Pg19RJjc7LLGo/zpvVDCgDH+JcC8DChKXx"}