Iteration multiplexing in rocprof-compute (#1533)

* Profile with multiple input files

* Iteration multiplexing kernel option

* Iteration multiplexing data

* Iteration multiplexing

* Counter profile caching

* Counter dispatch info

* Sanitize CLI args

* Formatting and removed unused header file

* Formattng

* Changed CLI args

* Merge counters for analysis

* Iteration multiplexing log while analysis

* Formatting

* Log

* Guard against incomplete profiling

* Fixed merge counter

* Tests

* Update doc

* Test update

* Fixed formatting

* Test fix

* Merge conflict commit

* Fix tests

* Added comment for counter definition file

* Do not allow dispatch filtering with iteration multiplexing

* Fixed formatting

* Doc indentation update
Этот коммит содержится в:
abchoudh-amd authored and GitHub committed 2025-11-19 21:09:16 +05:30
1 родитель 76ea35787d
Коммит 433af908a6
62 files changed
+21996 -112

No files matched your search

+23
Просмотреть файл
@@ -263,6 +263,29 @@ Examples:
"\t\t\t(e.g. 1 3:5 captures 1st, 3rd, 4th and 5th iterations)."
),
)
profile_group.add_argument(
"--iteration-multiplexing",
type=str,
dest="iteration_multiplexing",
metavar="",
required=False,
nargs="?",
choices=[
# "simple",
"kernel",
"kernel_launch_params",
],
const="kernel_launch_params",
help=(
"\t\t\tChoose the iteration multiplexing policy: "
"(DEFAULT: kernel_launch_params).\n"
# "\t\t\t simple (i.e. Round robin over all kernel dispatches\n"
"\t\t\t kernel (i.e. Round robin counters over kernel calls with "
"unique kernel names.)\n"
"\t\t\t kernel_launch_params (i.e. Round robin counters over "
"kernel calls with unique kernel and launch parameters)"
),
)
profile_group.add_argument(
"--list-available-metrics",