mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
removed "uopsinfo" as possible import flag since model_importer creates full DB file
This commit is contained in:
@@ -92,7 +92,7 @@ The usage of OSACA can be listed as:
|
|||||||
Keep in mind you have to provide a (dummy) filename in anyway.
|
Keep in mind you have to provide a (dummy) filename in anyway.
|
||||||
--import MICROBENCH
|
--import MICROBENCH
|
||||||
Import a given microbenchmark output file into the corresponding architecture instruction database.
|
Import a given microbenchmark output file into the corresponding architecture instruction database.
|
||||||
Define the type of microbenchmark either as "ibench", "asmbench" or "uopsinfo".
|
Define the type of microbenchmark either as "ibench" or "asmbench".
|
||||||
--insert-marker
|
--insert-marker
|
||||||
OSACA calls the Kerncraft module for the interactively insertion of `IACA <https://software.intel.com/en-us/articles/intel-architecture-code-analyzer>`_ marker in suggested assembly blocks.
|
OSACA calls the Kerncraft module for the interactively insertion of `IACA <https://software.intel.com/en-us/articles/intel-architecture-code-analyzer>`_ marker in suggested assembly blocks.
|
||||||
--export-graph EXPORT_PATH
|
--export-graph EXPORT_PATH
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ def create_parser():
|
|||||||
type=str,
|
type=str,
|
||||||
default=argparse.SUPPRESS,
|
default=argparse.SUPPRESS,
|
||||||
help='Import a given microbenchmark output file into the corresponding architecture '
|
help='Import a given microbenchmark output file into the corresponding architecture '
|
||||||
'instruction database. Define the type of microbenchmark either as "ibench", '
|
'instruction database. Define the type of microbenchmark either as "ibench" or '
|
||||||
'"asmbench" or "uopsinfo".',
|
'"asmbench".',
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--insert-marker',
|
'--insert-marker',
|
||||||
@@ -111,7 +111,7 @@ def create_parser():
|
|||||||
def check_arguments(args, parser):
|
def check_arguments(args, parser):
|
||||||
"""Check arguments passed by user that are not checked by argparse itself."""
|
"""Check arguments passed by user that are not checked by argparse itself."""
|
||||||
supported_archs = ['SNB', 'IVB', 'HSW', 'BDW', 'SKX', 'CSX', 'ZEN1', 'TX2']
|
supported_archs = ['SNB', 'IVB', 'HSW', 'BDW', 'SKX', 'CSX', 'ZEN1', 'TX2']
|
||||||
supported_import_files = ['ibench', 'asmbench', 'uopsinfo']
|
supported_import_files = ['ibench', 'asmbench']
|
||||||
|
|
||||||
if 'arch' in args and args.arch.upper() not in supported_archs:
|
if 'arch' in args and args.arch.upper() not in supported_archs:
|
||||||
parser.error(
|
parser.error(
|
||||||
@@ -139,7 +139,7 @@ def import_data(benchmark_type, arch, filepath):
|
|||||||
elif benchmark_type.lower() == 'asmbench':
|
elif benchmark_type.lower() == 'asmbench':
|
||||||
import_benchmark_output(arch, 'asmbench', filepath)
|
import_benchmark_output(arch, 'asmbench', filepath)
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError('This benchmark input variant is not implemented yet.')
|
raise NotImplementedError('This benchmark input variant is not supported.')
|
||||||
|
|
||||||
|
|
||||||
def insert_byte_marker(args):
|
def insert_byte_marker(args):
|
||||||
|
|||||||
Reference in New Issue
Block a user