make icpc not required for native knl target
This commit is contained in:
2
alloy.py
2
alloy.py
@@ -636,7 +636,7 @@ def validation_run(only, only_targets, reference_branch, number, notify, update,
|
|||||||
if options.ispc_build_compiler == "gcc":
|
if options.ispc_build_compiler == "gcc":
|
||||||
stability.compiler_exe = "g++"
|
stability.compiler_exe = "g++"
|
||||||
# but 'knc/knl' target is supported only by icpc, so set explicitly
|
# but 'knc/knl' target is supported only by icpc, so set explicitly
|
||||||
if ("knc" in targets[j]) or ("knl-generic" in targets[j]) or ("avx512knl-i32x16" in targets[j]):
|
if ("knc" in targets[j]) or ("knl-generic" in targets[j]):
|
||||||
stability.compiler_exe = "icpc"
|
stability.compiler_exe = "icpc"
|
||||||
# now set archs for targets
|
# now set archs for targets
|
||||||
if "generic" in targets[j]:
|
if "generic" in targets[j]:
|
||||||
|
|||||||
@@ -671,8 +671,6 @@ def run_tests(options1, args, print_version):
|
|||||||
options.compiler_exe = "icpc"
|
options.compiler_exe = "icpc"
|
||||||
elif (options.target == "knl-generic"):
|
elif (options.target == "knl-generic"):
|
||||||
options.compiler_exe = "icpc"
|
options.compiler_exe = "icpc"
|
||||||
elif (options.target == "avx512knl-i32x16"):
|
|
||||||
options.compiler_exe = "icpc"
|
|
||||||
elif is_windows:
|
elif is_windows:
|
||||||
options.compiler_exe = "cl.exe"
|
options.compiler_exe = "cl.exe"
|
||||||
else:
|
else:
|
||||||
@@ -911,7 +909,7 @@ if __name__ == "__main__":
|
|||||||
parser.add_option('-t', '--target', dest='target',
|
parser.add_option('-t', '--target', dest='target',
|
||||||
help=('Set compilation target (sse2-i32x4, sse2-i32x8, sse4-i32x4, sse4-i32x8, ' +
|
help=('Set compilation target (sse2-i32x4, sse2-i32x8, sse4-i32x4, sse4-i32x8, ' +
|
||||||
'sse4-i16x8, sse4-i8x16, avx1-i32x8, avx1-i32x16, avx1.1-i32x8, avx1.1-i32x16, ' +
|
'sse4-i16x8, sse4-i8x16, avx1-i32x8, avx1-i32x16, avx1.1-i32x8, avx1.1-i32x16, ' +
|
||||||
'avx2-i32x8, avx2-i32x16, generic-x1, generic-x4, generic-x8, generic-x16, ' +
|
'avx2-i32x8, avx2-i32x16, avx512knl-i32x16, generic-x1, generic-x4, generic-x8, generic-x16, ' +
|
||||||
'generic-x32, generic-x64, knc, knl-generic)'), default="sse4")
|
'generic-x32, generic-x64, knc, knl-generic)'), default="sse4")
|
||||||
parser.add_option('-a', '--arch', dest='arch',
|
parser.add_option('-a', '--arch', dest='arch',
|
||||||
help='Set architecture (arm, x86, x86-64)',default="x86-64")
|
help='Set architecture (arm, x86, x86-64)',default="x86-64")
|
||||||
@@ -924,7 +922,7 @@ if __name__ == "__main__":
|
|||||||
parser.add_option('-v', '--verbose', dest='verbose', help='Enable verbose output',
|
parser.add_option('-v', '--verbose', dest='verbose', help='Enable verbose output',
|
||||||
default=False, action="store_true")
|
default=False, action="store_true")
|
||||||
parser.add_option('--wrap-exe', dest='wrapexe',
|
parser.add_option('--wrap-exe', dest='wrapexe',
|
||||||
help='Executable to wrap test runs with (e.g. "valgrind")',
|
help='Executable to wrap test runs with (e.g. "valgrind" or "sde --knl -- ")',
|
||||||
default="")
|
default="")
|
||||||
parser.add_option('--time', dest='time', help='Enable time output',
|
parser.add_option('--time', dest='time', help='Enable time output',
|
||||||
default=False, action="store_true")
|
default=False, action="store_true")
|
||||||
|
|||||||
Reference in New Issue
Block a user