Граф коммитов

827 Коммитов

Автор SHA1 Сообщение Дата
Giovanni LB 2a45bb7a8a SWDEV-439965: Fixing user-supplied ISA
Change-Id: I69b4984b8e6655832506d9bb2c6f73073e59e871
2024-01-06 23:13:43 -05:00
Giovanni LB bae8c664bb Temp workaround for compilation errors in CTF
Change-Id: If9fc45f4d76a85ebe38ebc03a4fba9fe069730d7
2024-01-06 17:58:33 -03:00
Saurabh Verma 5676c27c02 Supporting UMC counters in rocprofv2
Change-Id: Ic96c33244d78ac5031cfd99ac2be0c12c774d1b0
2024-01-04 12:33:08 -05:00
Ammar ELWazir a59d56f9bc Fixing ROCProfilerV2 to match versioning changes in HIP Runtime
Change-Id: Ifb0f98356acebcb7cf5372340b36178de000405d
2024-01-03 12:28:08 -06:00
Giovanni LB 137aef0419 Changed MI300 GFX
Change-Id: I3ed497d5517df226d9d03a1d5ebc7d515efd1fab
2024-01-02 12:54:54 -05:00
Giovanni LB bc9ada7d34 SWDEV-437776: ATT fix for s_delay_salu
Change-Id: I962c40c4c4fa2583a235e8185a056fdb69e44c78
2023-12-31 14:42:30 -05:00
Giovanni LB cc518909c5 SWDEV-437776: Fixing ATT CSV ordering
Change-Id: If111b9a2d4354a036693795cfbc18e87899f1f1c
2023-12-29 16:16:55 -03:00
Giovanni LB 25a02fe03e SWDEV-437776: Fixing typo for in stitch.py. Fixing singleDispatch kernel name.
Change-Id: I8d65598fffa4f15f78a64f741fdcb9a4a77af2a0
2023-12-27 18:08:39 -05:00
Giovanni LB 1c5bf0b96e SWDEV-437442: Re-enable CTF plugin
Change-Id: I290c6504c76b715c6d3bdfd2da6d7e5656cf8dfe
2023-12-27 17:17:37 -05:00
Saurabh Verma b18bc9930b Fixed format of presenting MI300 counters for individual xccs
1. Modified rocprofiler_record_profiler_t to include xcc_index
2. Modified file plugin to add additional column XCC_Index to the csv

Change-Id: Ic526c739e16b50dca5704070ccabbcbecd994d6a
2023-12-20 14:04:10 -05:00
Giovanni LB 7b98e43276 SWDEV-437776: Removed codeobj ATT error message for memory protocol
Change-Id: Iabe191edf5446a03afc4e1c81e5cf906476e5fcb
2023-12-20 12:09:35 -03:00
Giovanni LB 490ea4c37d SWDEV-432445: ATT - Adding fixes for symbolic stitch and source reference numbering
Change-Id: I31d63bd2500155697129c29d7e0bc857e48cad8e
2023-12-18 08:53:51 -03:00
gobhardw 6f033b4295 Allowed rocporf v1 for MI300
Change-Id: I5e4999fc2d27b68afa0bf70b65e2d97cd7f2b01d
2023-12-18 04:21:12 +00:00
Giovanni LB fd7aa5758f SWDEV-436332: Temporarily disabling CTF Plugin
Change-Id: I368030fdca169c18bf85a7254fc6d3754ea15839
2023-12-13 14:07:24 -05:00
Jatin Chaudhary 8dd9d9df51 SWDEV-412457 - include assert header in files that use it
Change-Id: Ie1a947e78c4badc5b07b15fefc8aaedacfc7a02c
2023-12-13 13:37:41 -05:00
Giovanni LB b8b870328b SWDEV-409155: Fixing tests for att/pmc
Change-Id: I036f45502e6ff18518dcdb954161d09ce3546fe0
2023-12-12 19:48:03 -03:00
Giovanni LB e85c6911aa SWDEV-432445: Reorganizing ATT packet start/stop. Bump ATT parser version.
Change-Id: I979648f8a6a25aa7b499b3eea49978578f6c3f5a
2023-12-12 17:43:34 -05:00
Giovanni LB b93d5e7e79 SWDEV-432445: Handling multiple agents for ATT
Change-Id: I41d30baf2c469d8ddb58e3385b88a7b04a30422e
2023-12-12 17:43:24 -05:00
Giovanni LB edf93d48ab SWDEV-432445: ATT continuous mode update part2. Added codeobj tracking.
Change-Id: I1b58af70d221bbeb9b4cab960d26357a504045dd
2023-12-12 17:40:59 -05:00
Giovanni LB aba6a1d986 SWDEV-432445: ATT continuous mode
Change-Id: I52732fc1dba41df3373ef6a19a428b00d729bf04
2023-12-12 10:55:23 -03:00
vlaindic 8d80b2969d SWDEV-428255: CTF plugin shows hipDeviceReset
rocprofv2's CTF plugin is adapted to show hipDeviceReset in the
HIP API trace. Credits to Philippe Proulx <pproulx@efficios.com>

Change-Id: I870458758402e76f736007f8f2ca807059a02559
2023-12-11 08:56:10 +01:00
Giovanni LB d5e968989c SWDEV-409155: Adding ATT plugin tests
Change-Id: I684affa4a63ed1c6fd7d8a4bb18f83697c3181a3
2023-12-07 13:01:43 -03:00
Youssef Aly 9f30432dd7 SWDEV-411647: enabling kernel trace flag with sys-trace option
To allow results_<XXXXX>.csv to be regenerated as it contains extra information not present in hcc_ops_trace, hip_api_trace, hsa_api_trace CSV files. The extra information is Dispatch_ID,GPU_ID,Queue_ID,PID,TID,Grid_Size,Workgroup_Size,LDS_Per_Workgroup,Scratch_Per_Workitem,Arch_VGPR,Accum_VGPR,SGPR,Wave_Size.

Change-Id: Ief371b41aa41d77397c00e6b4281568e494b26dc
2023-12-06 12:29:57 -05:00
Youssef Aly bfd4730cb0 Disabling Tracer Gtest: Async_mem_copy
Test fails with a generic HsA_STATUS_ERROR

Change-Id: Icf076124304797169f848cdc524f3d52f161f54e
2023-12-06 00:30:35 +00:00
Giovanni LB f13f221780 Att param as unsigned integer
Change-Id: I4cd611c5e60e7c22d17c657a8ea5663dfb57e781
2023-12-04 15:23:48 -05:00
Giovanni LB ce9a578350 Adding file mode availability check
Change-Id: I586556a998996c0117d35d966dadf5490831bffb
2023-12-04 13:08:37 -03:00
Jatin Chaudhary 729d7415ae SWDEV-412457 - include missing assert header
Change-Id: If36574df6326b2e634fe3799372eda698b8a30a8
2023-11-15 23:35:02 +00:00
Benjamin Welton 7d39ba7510 Remove flaky ROCP_OPT_MODE test
This test fails occasionally on weekly builds of rocm. It looks like
the flag isn't even used outside of this test case (not even in docs).
Lets remove the test for this flag. Leaving the underlying code in place
in case we need to revive.

Change-Id: I4e0a36ad8a3e286f8ff64780583462711c73c1ba
2023-11-15 21:44:04 +00:00
Giovanni LB 526646211a SWDEV-431438: Disabling counter check for Navi3x on unittests
Change-Id: I3b716d1862b979c3ea5884170060a6e445cf35e5
2023-11-15 07:51:05 -05:00
Giovanni LB 4c94003018 SWDEV-283962: (Workaround) preventing v1 from failing on application replay.
Change-Id: I11eacd61b51134a32e245ea2529b6e30615f6670
2023-11-15 07:50:41 -05:00
Giovanni LB 0648bcdc4b SWDEV-414768: Fixes for perfetto kernel-trace
Change-Id: Icd2eab4a46c5f51c73ff9a37df490c20ef22ee93
2023-11-10 09:21:54 -03:00
Giovanni LB 9e625eb58a SWDEV-430460: Updated readme and fixed att.csv being generated only on current dir.
Change-Id: I81522a79e61ff0f35f74035b48ff594d7a05a424
2023-11-10 06:07:48 -03:00
Giovanni LB b1b55a0370 SWDEV-431750: Fixing ATT parsing of s_swappc and s_setpc
Change-Id: I1bc649f0a8c5b9c2f4991cf7b82890dca681a5c7
2023-11-10 04:34:05 -03:00
gobhardw f513e30b9f SWDEV-431667: Fixing counter listing
Change-Id: Ibcb80edcdc4e61f3d57911598ee7950f09b2e85e
2023-11-09 15:49:20 +00:00
Youssef Aly 369f9e5063 SWDEV-430410 Fixed hang with --basenames argument
rocprofv2 script: missing shift for --basenames argument

Change-Id: Ibb4b56bb4e5ca4a8dae473de3932d559d58f7ce1
2023-11-08 19:59:20 -05:00
Giovanni LB 99b14fc9f8 Added option to control how codeobj is dumped from ATT
Change-Id: Ie76aeea1193c7ba8fe7f51be159516f8a9eab55f
2023-11-08 17:48:28 -03:00
Ammar ELWazir 1c0149c21f Tool Version fix
Change-Id: Ieeff7263bfe697010383c28104fb9c127ec5badb
2023-11-08 16:53:48 +00:00
Giovanni LB 698522e901 SWDEV-431506: Fix for ATT network mode
A bug was introduced where network mode would only work when running file mode first

Change-Id: I32d0cf8f8a5584781d54fec130ec3d276ab52d1b
2023-11-08 08:37:26 -03:00
Ammar ELWazir e9d155c6a3 SWDEV-430422: Fixing the Hardware check to happen in the run function
Change-Id: I3a9112ea1707bb1a3df2e18cd9cd23f1609a3e01
2023-11-07 14:13:29 -05:00
Ammar ELWazir 216cb4edcf Fixing ROCProfv2 Kernel tracing in sys-trace mode
Change-Id: Ic4299beb88f53fed678bb98feeb0c78a7f252879
2023-11-07 15:17:45 +00:00
gobhardw 9954f937d0 Fixing build for opensuse
Change-Id: I7b68382224221e899f64c06cec67b969a212f21a
2023-11-03 17:04:08 +00:00
gobhardw 6ee20035dd rocporf binary update
Change-Id: I2ba07a213acc7db403b804d8136edce28df9dd14
2023-11-02 07:14:59 -04:00
Ammar ELWazir ae3c278d7a SWDEV-366827 - Fixing Issues with ASAN builds due to merging
Change-Id: I2da6607872b10e6a0211e08604254d4425fadb77
2023-10-31 14:47:49 -04:00
gobhardw 9cc2d896ac SWDEV-416735 Adding --merge-traces option to rocprof script
Change-Id: Ia6bc11c6265913d20ead85c50981893d147ff5eb
2023-10-31 14:30:36 -04:00
gobhardw ff9dc8cea0 SWDEV-426220 Removing dummy kernel from test app
Change-Id: I1576732399fcff924a88cd442f0dac0121bd5e12
2023-10-31 13:29:54 -04:00
Ammar ELWazir 56d060a4a9 Removing .github from the main repository
Change-Id: Ia91cbd4c5145a06d4867eb4649c81ba3b95c6d6b
2023-10-31 13:05:45 -04:00
Ammar ELWazir d033cf3ab7 SWDEV-428381: Moving rocminfo to use the one available in the path
Change-Id: I736cc2ca9ddabf35cbb24d3fba553e2cbec5e396
2023-10-31 10:08:28 -04:00
Mythreya 46e02a9866 Add MI200/MI300 counters
Revision - Addition [Impact SoC: MI200, MI300]
    Note: this set of counters are important help understand the
          bottleneck.
    1.	TCC_TAG_STALL
        a.	Metric:  TCC_TAG_STALL/TCC_CYCLE: percentage of time TCC
            tag lookup pipeline is stalled
    2.	TCP_TCR_TCP_STALL_CYCLES
        a.	Metric: TCP_TCR_TCP_STALL_CYCLES/TCP_GATE_EN1: percentage
            of time TCP is stalled by TCR

Revision - Addition [Impact SoC: MI300]
    3.	TCC_BUBBLE:
        a.	Definition: Number of 128-byte read requests sent to EA
        b.	Revised Metric #1, TCC-EA Read BW:
        ReadBW =   128 * TCC_BUBBLE
                + 64 * (TCC_EA0_RDREQ - TCC_BUBBLE - TCC_EA0_RDREQ_32B)
                + 32 * TCC_EA0_RDREQ_32B
        c.	Revised Metric #2: TCC_EA Read Latency
        ReadLatency = TCC_EA0_RDREQ_LEVEL / (TCC_BUBBLE + TCC_EA0_RDREQ)

    /* [Fineprint] More detailed arithmetic:
    * ReadLatency = TCC_EA0_RDREQ_LEVEL / (#32B_req + #64B_req + #128B_req * 2)
    */

Change-Id: I0a2dfc1b64ca97023b1e8ba0f9830330b3034946
2023-10-30 15:38:46 -04:00
gobhardw 49bd09b46c SWDEV-429377 : Fixing kernel name truncation for plugins
Change-Id: I5875048d1773959fdd73cbff5498854e61b92af8
2023-10-30 10:52:31 -04:00
Ammar ELWazir 32907ff14c Fixing Tool/Plugin Versioning and adding --version and adding proper documentation for those features
Change-Id: Icdb0d64e02943e638f183ab31759a37736d2dd61
2023-10-27 14:52:13 +00:00