From 82bb59ce76b556c3aee65ceb9bae05ca33823f55 Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Tue, 5 Mar 2024 18:13:31 -0600 Subject: [PATCH] tighten-up profile usage examples Signed-off-by: Karl W Schulz [ROCm/rocprofiler-compute commit: 3e88132d73b825d4ffff48c92941eb02743d4633] --- projects/rocprofiler-compute/src/argparser.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/projects/rocprofiler-compute/src/argparser.py b/projects/rocprofiler-compute/src/argparser.py index fa6b5be892..b3137d83ed 100644 --- a/projects/rocprofiler-compute/src/argparser.py +++ b/projects/rocprofiler-compute/src/argparser.py @@ -61,16 +61,17 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): "profile", help="Profile the target application", usage=""" - \nomniperf profile --name [profile options] [roofline options] -- - \n\n------------------------------------------------------------------------------- - \nExamples: - \n\tomniperf profile -n vcopy_all -- ./vcopy -n 1048576 -b 256 - \n\tomniperf profile -n vcopy_SPI_TCC -b SQ TCC -- ./vcopy -n 1048576 -b 256 - \n\tomniperf profile -n vcopy_kernel -k vecCopy -- ./vcopy -n 1048576 -b 256 - \n\tomniperf profile -n vcopy_disp -d 0 -- ./vcopy -n 1048576 -b 256 - \n\tomniperf profile -n vcopy_roof --roof-only -- ./vcopy -n 1048576 -b 256 - \n-------------------------------------------------------------------------------\n +omniperf profile --name [profile options] [roofline options] -- + +--------------------------------------------------------------------------------- +Examples: +\tomniperf profile -n vcopy_all -- ./vcopy -n 1048576 -b 256 +\tomniperf profile -n vcopy_SPI_TCC -b SQ TCC -- ./vcopy -n 1048576 -b 256 +\tomniperf profile -n vcopy_kernel -k vecCopy -- ./vcopy -n 1048576 -b 256 +\tomniperf profile -n vcopy_disp -d 0 -- ./vcopy -n 1048576 -b 256 +\tomniperf profile -n vcopy_roof --roof-only -- ./vcopy -n 1048576 -b 256 +--------------------------------------------------------------------------------- """, prog="tool", allow_abbrev=False,