From 620853686384c301b2c1277a34753df1584e33e5 Mon Sep 17 00:00:00 2001 From: JanLJL Date: Mon, 19 Apr 2021 00:05:53 +0200 Subject: [PATCH] added CLX as synonym for CSX uarch --- osaca/osaca.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osaca/osaca.py b/osaca/osaca.py index b97bcb7..ec10e3a 100755 --- a/osaca/osaca.py +++ b/osaca/osaca.py @@ -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 "