-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
116 lines (115 loc) · 3.15 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
from .run_once import run_once
from .detect_pwd import (
get_git_root_path,
get_env_name_from_setup,
create_new_results_dir,
create_results_dir,
assert_git_exists,
is_generic_root_path,
is_pwd_generic_dev_root,
get_generic_root_path,
)
from .upload_benchmark_results import (
ConfigCanonicalizer,
generate_filename,
ask_file,
ask_subdirectory,
ask_subdirectory_or_file,
update_gspread,
create_worksheet,
get_cell_range_from_A1,
count_cols,
count_rows,
get_pretty_hostname,
find_latest_subdirectory_or_file,
NameCanonicalizer,
get_worksheet_gid,
open_worksheet,
write_csv_to_file,
is_config_selected,
ask_pretty_hostname,
)
from .classify_het_kernels import (
is_ctags_installed,
classify_fw_bw_kernel,
get_functions_from_ctags_table,
)
from .load_nsight_report import (
extract_ncu_values_from_details,
load_ncu_report,
upload_nsys_reports,
reorder_columns_in_raw_csv,
extract_ncu_values_from_raws,
calculate_roofline_for_ncu_raw_csvs,
extract_csv_from_nsys_file,
consolidate_ncu_details,
prettify_name_from_func_signature,
extract_csv_from_ncu_folder,
extract_csv_from_ncu_file,
load_ncu_report_just_cli_output_and_split,
)
from .print_machine_info import (
print_system_info,
print_python_env_info,
print_conda_envs_info,
)
from .analyze_nsys_kern_trace import (
get_last_nvtx_range,
calc_avg_sm_metrics,
get_kern_trace_overhead,
extract_kernels_grid_configs,
)
from .retrieve_nsys_sm_metrics import load_raw_gpu_metric_util_report
# From https://stackoverflow.com/questions/59167405/flake8-ignore-only-f401-rule-in-entire-file
__all__ = [
"run_once",
"get_git_root_path",
"get_env_name_from_setup",
"create_new_results_dir",
"create_results_dir",
"assert_git_exists",
"ConfigCanonicalizer",
"generate_filename",
"ask_file",
"ask_subdirectory",
"ask_subdirectory_or_file",
"update_gspread",
"create_worksheet",
"get_cell_range_from_A1",
"count_cols",
"count_rows",
"get_pretty_hostname",
"find_latest_subdirectory_or_file",
"NameCanonicalizer",
"is_ctags_installed",
"classify_fw_bw_kernel",
"get_functions_from_ctags_table",
"extract_ncu_values_from_details",
"load_ncu_report",
"upload_nsys_reports",
"reorder_columns_in_raw_csv",
"extract_ncu_values_from_raws",
"calculate_roofline_for_ncu_raw_csvs",
"extract_csv_from_nsys_file",
"consolidate_ncu_details",
"prettify_name_from_func_signature",
"extract_csv_from_ncu_folder",
"extract_csv_from_ncu_file",
"print_system_info",
"print_python_env_info",
"print_conda_envs_info",
"get_last_nvtx_range",
"calc_avg_sm_metrics",
"get_kern_trace_overhead",
"load_raw_gpu_metric_util_report",
"is_generic_root_path",
"is_pwd_generic_dev_root",
"get_generic_root_path",
"load_ncu_report_just_cli_output_and_split",
"get_worksheet_gid",
"open_worksheet",
"extract_kernels_grid_configs",
"write_csv_to_file",
"is_config_selected",
"ask_pretty_hostname",
] # this suppresses the warning F401