Fix setting roofline-data-type option in both profile and analyze modes (#702)

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
Este commit está contenido en:
cfallows-amd
2025-05-12 23:02:47 -04:00
cometido por GitHub
padre 4e24b2c60a
commit d527d77337
Se han modificado 2 ficheros con 2 adiciones y 7 borrados
+1 -2
Ver fichero
@@ -61,8 +61,7 @@ class webui_analysis(OmniAnalyze_Base):
# define any elements which will have full width
self.__full_width_elements = {1801}
if hasattr(args, "roofline_data_type") and args.roofline_data_type != ["FP32"]:
self.__roofline_data_type = args.roofline_data_type
self.__roofline_data_type = args.roofline_data_type
@demarcate
def build_layout(self, input_filters, arch_configs):
+1 -5
Ver fichero
@@ -60,7 +60,6 @@ class Roofline:
"mem_level": "ALL",
"include_kernel_names": False,
"is_standalone": False,
"roofline_data_type": ["FP32"],
}
)
self.__ai_data = None
@@ -77,10 +76,7 @@ class Roofline:
self.__run_parameters["mem_level"] = self.__args.mem_level
if hasattr(self.__args, "sort") and self.__args.sort != "ALL":
self.__run_parameters["sort_type"] = self.__args.sort
if hasattr(
self.__args, "roofline_data_type"
) and self.__args.roofline_data_type != ["FP32"]:
self.__run_parameters["roofline_data_type"] = self.__args.roofline_data_type
self.__run_parameters["roofline_data_type"] = self.__args.roofline_data_type
self.validate_parameters()
def validate_parameters(self):