added CLX as synonym for CSX uarch

This commit is contained in:
JanLJL
2021-04-19 00:05:53 +02:00
parent 5b95f1f909
commit 6208536863

View File

@@ -20,6 +20,7 @@ SUPPORTED_ARCHS = [
"BDW",
"SKX",
"CSX",
"CLX",
"ICL",
"ZEN1",
"ZEN2",
@@ -190,6 +191,9 @@ def check_arguments(args, parser):
parser.error(
"Microarchitecture not supported. Please see --help for all valid architecture codes."
)
# manually set CLX to CSX to support both abbreviations
if args.arch.upper() == "CLX":
args.arch = "CSX"
if "import_data" in args and args.import_data not in supported_import_files:
parser.error(
"Microbenchmark not supported for data import. Please see --help for all valid "