From db29cbe8515901f9405936f8745a5fea21e3ea18 Mon Sep 17 00:00:00 2001 From: Vsevolod Livinskiy Date: Fri, 8 May 2015 14:54:51 +0300 Subject: [PATCH] [AVX512]: knl arch for clang --- run_tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_tests.py b/run_tests.py index bc87487a..3c08865c 100755 --- a/run_tests.py +++ b/run_tests.py @@ -270,6 +270,9 @@ def run_test(testname): elif (options.target == "knl"): cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ (options.compiler_exe, gcc_arch, "-xMIC-AVX512", match, obj_name, exe_name) + elif (options.target == "knl-avx512"): + cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ + (options.compiler_exe, gcc_arch, "-march=knl", match, obj_name, exe_name) else: cc_cmd = "%s -O2 -I. %s %s test_static.cpp -DTEST_SIG=%d %s -o %s" % \ (options.compiler_exe, gcc_arch, gcc_isa, match, obj_name, exe_name)