Fix setting roofline-data-type option in both profile and analyze modes (#702)
Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
[ROCm/rocprofiler-compute commit: d527d77337]
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user