From 2be2bf8ed12c6957a360ae814420a14c5fd0e69e Mon Sep 17 00:00:00 2001 From: Maxim Masiutin Date: Sun, 2 Apr 2023 13:06:17 +0300 Subject: [PATCH 1/2] Added vnni512; removed forced bmi2 on CPUS with vnni for AVX-512 --- worker/games.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/worker/games.py b/worker/games.py index 6826af57b..7cdffda51 100644 --- a/worker/games.py +++ b/worker/games.py @@ -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"] @@ -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 ( From 16ada265b42de22ca8500d17bb0bdfc9558ad8ba Mon Sep 17 00:00:00 2001 From: Maxim Masiutin Date: Sun, 9 Apr 2023 01:11:25 +0300 Subject: [PATCH 2/2] updated sri.txt hashes --- worker/sri.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/sri.txt b/worker/sri.txt index 2689633b1..27dd7ae76 100644 --- a/worker/sri.txt +++ b/worker/sri.txt @@ -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"}