Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
Bu işleme şunda yer alıyor:
+12
-4
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle