diff --git a/src/parser.py b/src/parser.py index 50878873b2..149c3f8f86 100644 --- a/src/parser.py +++ b/src/parser.py @@ -119,7 +119,9 @@ def parse(my_parser): help="\t\t\tKernel filtering.", ) - result = subprocess.run(["which", "rocscope"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) + result = subprocess.run( + ["which", "rocscope"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL + ) if result.returncode == 0: profile_group.add_argument( "-l", @@ -149,9 +151,15 @@ def parse(my_parser): help="\t\t\tCreate kernel summaries.", ) else: - profile_group.add_argument("--i-feel-lucky", default=False, dest="lucky", help=argparse.SUPPRESS) - profile_group.add_argument("--use-rocscope", default=False, dest="use_rocscope", help=argparse.SUPPRESS) - profile_group.add_argument("--kernel-summaries", default=False, dest="summaries", help=argparse.SUPPRESS) + profile_group.add_argument( + "--i-feel-lucky", default=False, dest="lucky", help=argparse.SUPPRESS + ) + profile_group.add_argument( + "--use-rocscope", default=False, dest="use_rocscope", help=argparse.SUPPRESS + ) + profile_group.add_argument( + "--kernel-summaries", default=False, dest="summaries", help=argparse.SUPPRESS + ) profile_group.add_argument( "-b", diff --git a/src/utils/specs.py b/src/utils/specs.py index d63b6b4f1f..5e567ad895 100644 --- a/src/utils/specs.py +++ b/src/utils/specs.py @@ -32,7 +32,7 @@ from dataclasses import dataclass from pathlib import Path as path from textwrap import dedent -gpu_list = {"gfx906", "gfx908", "gfx90a","gfx900"} +gpu_list = {"gfx906", "gfx908", "gfx90a", "gfx900"} @dataclass