Commit Graph

37726 Commits

Author SHA1 Message Date
Indic, Vladimir e4d736839d Temporarily allow only host-trap sampling (#156) 2025-01-27 13:26:11 -06:00
Lancelot Six 76052ba028 libhsakmt: gfx950 uses same VGPR block size as gfx940
Make sure to use allocate the same amount of size for VGPR data in
gfx950 as it is done for gfx940.

Change-Id: I6a0820996389627ccbdfef856e5150c46fac92a1
Signed-off-by: Lancelot SIX <lancelot.six@amd.com>
2025-01-27 14:06:42 -05:00
Trowbridge, Ian 2fc0e4ecd4 Support for rocJPEG Tracing (#5)
* Add initial support for rocJPEG API Trace

* Added tests for rocjpeg

* Formatting

[ROCm/rocprofiler-register commit: 366716af06]
2025-01-27 11:50:12 -06:00
Trowbridge, Ian 366716af06 Support for rocJPEG Tracing (#5)
* Add initial support for rocJPEG API Trace

* Added tests for rocjpeg

* Formatting
2025-01-27 11:50:12 -06:00
Gerardo Hernandez b073063612 SWDEV-510589 - Use libgcc1 package (on Debian 10 only)
Change-Id: Ibe945e366468a84fd717e0e425cfaf7dab5a99c4
2025-01-27 11:02:30 -05:00
Anavena Venkatesh e9177bd83b SWDEV-491363 - [catch2][dtest] Added test cases for missed graph APIs
Change-Id: Ic740c52992b8d0a325f09b1db0adf599561e1a1d
2025-01-27 10:45:37 -05:00
Shweta Khatri 6361466baa rocr: Use view3dAs2dArray flag, for thick/3D swizzle modes.
Added HSA_IMAGE_ENABLE_3D_SWIZZLE_DEBUG environment flag to
enable/disable this. Default value is false (view3dAs2dArray = 1)
Enabling this flag will enable support for swizzles that do 3D
interleaving. Note that all features of 3D images are supported
with 2D swizzles,it's just that the access patterns are different
and therefore cache hit-rates may be better or worse, depending
on how it's used. Volumetric algorithms do better with 3D and apps
that tend to access a single slice at a time do better with 2D.

Change-Id: Id8574a6710fe4333a1ee331e5ce9195a81434198
2025-01-27 09:28:33 -05:00
Tony Gutierrez 8a38f121ea rocr: Add WaitMultiple to core Signal
Replaces WaitAny with WaitMultiple to more closely align with the
underlying driver API for waiting on multiple events.

WaitMultiple adds a single parameter, wait_on_all, to the WaitAny
interface providing a single function for waiting on multiple
events when we only need AND and OR semantics for the signal
checking logic.

Change-Id: I68a4a45d48151d9d69aef02fd8f7263b9e6c0e75
2025-01-27 09:21:43 -05:00
Ioannis Assiouras 22946cd158 SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests
Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5
2025-01-27 14:00:24 +00:00
Marko Arandjelovic 269ec54252 SWDEV-489619 - Added checks for memcpy capture path
Change-Id: I0e156099282f0b6393bcbcee2e9b96c31034a851
2025-01-27 03:51:34 -05:00
Jacob Lambert 1fc7c6bb9a SWDEV-360440 - Prepare CLR CMake for Comgr V3 transition
Change-Id: Ia279928fd3549a45bae561d0d2d8fcf110d8c245
2025-01-27 01:09:23 -05:00
Lancelot Six c51aa0d155 libhsakmt: Use the node info to determine LDS size
The CWSR area size needs to take into account the size of LDS each
active workgroup can have.  The current implementation uses a constant
for that.  This patch refactors this to use the HsaNodeProperties of the
device's the CWSR area is for to figure out the size of LDS.

Change-Id: Ib8585b2b7140ec5c99e7b7d62e67f785697c028a
Signed-off-by: Lancelot Six <Lancelot.Six@amd.com>
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2025-01-26 21:46:32 -05:00
Alex Sierra 268054cd28 kfdtest: add support for gfx9.5.0 in shader store
Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Change-Id: I48b98ff631bd1aa1a044b60583ff256e43b17423
2025-01-26 21:45:07 -05:00
Alex Sierra e94ff8a36c kfdtest: Add gfx 9.5 as FAMILY_AV
Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Change-Id: Ib5696eee1d4f64c9c87d714eae7c80fbbd1e2b23
2025-01-26 21:43:55 -05:00
David Yat Sin dab8f2fc65 rocr: Add support for gfx950
<squashed with patch for gfx950 generic targets>

Signed-off-by: Chris Freehill <Chris.Freehill@amd.com>

Change-Id: Ifec6d93cf46c7fbf736c6572882299e279260af6
2025-01-26 13:04:58 -05:00
Vladana Stojiljkovic 6c5468f802 SWDEV-486969 - Reuse existing tests to verify behavior of capturing sync Memcpy APis
Change-Id: I7e94743d6957ffaadae9cff297e3f0d93f9ff806
2025-01-26 07:56:32 -05:00
Vladana Stojiljkovic 59ace1e080 SWDEV-491280 - Create capture tests for Peer APIs
Change-Id: Ib35ab1155b19e00f7f297e6eaf395709d5767d7c
2025-01-26 07:56:15 -05:00
Ioannis Assiouras 21c223f8df SWDEV-510319 - Fixed random segfaults in graph tests
This change fixes random segfaults in graph tests that
are seen after the change make internal callbacks non-blocking.
The callback thread that decreases the GraphExec ref count
may now run after the runtime shutdown. This can cause a segfault
because the hip::device that is accessed in GraphExec destructor
is already destroyed during runtime shutdown. This patch ensures
that the hip::device object  stays alive until after the
callback thread completes.

Change-Id: I75a6ac01f27a0b2250bbd10ed389ebfb322927af
2025-01-25 09:54:15 -05:00
Sam Wu c95cfc9bd8 Update documentation requirements (#540)
[ROCm/rocprofiler-compute commit: f58070aff1]
2025-01-24 16:34:03 -07:00
Sam Wu f58070aff1 Update documentation requirements (#540) 2025-01-24 16:34:03 -07:00
Sourabh Betigeri c460b0541b SWDEV-502219 - Adds validity checks for negative parameters passed
Change-Id: Ib8a531533306a27143d74b81c074de81051eb896
2025-01-24 16:32:29 -05:00
Ajay 6059eaa7c1 SWDEV-465215 - fixes for hipFuncGetAttribute tests
Fixes SWDEV-465215, SWDEV-465213, SWDEV-465212

Change-Id: I08b114bf647366abcf900d6b2a17f77ca608fc46
2025-01-24 16:08:09 -05:00
Tao Sang 58d4bd27a3 SWDEV-479138 - Enable different address modes
Enable different address modes in tests

Change-Id: Idf69477718172614ba9c349735d3230ae765923b
2025-01-24 13:49:27 -05:00
SrinivasaRao 7d2ed4bd39 SWDEV-493278-[catch2][dtest]-Negative Tests for the hipStreamBatchMemOp API
Change-Id: I408aa01e279817b44ff05571f3251a281dd5a4f6
2025-01-24 13:47:16 -05:00
Rambabu Swargam 94f5907371 SWDEV-506876 - [catch2][dtest] Enable stress tests for hipStreamLegacy
Change-Id: Ica8d0e68f4ec19af48d6d417f018b9d8f375125d
2025-01-24 13:34:29 -05:00
Jaydeep Patel 5244a426c7 SWDEV-496544 - Memory needs visibility system wide as CPU and GPU both needs to see updated value by each other.
Change-Id: Ia80e69455aeb06b9281f75313ba39b621d6929c5
2025-01-24 13:28:17 -05:00
Tao Sang 5f2992a546 SWDEV-506090 - Fix Unit_hipMemAdvise_TstAlignedAllocMem
Change-Id: I651c25f011d24d0190c62586722b81ddc580655f
2025-01-24 13:16:27 -05:00
Galantsev, Dmitrii 99d4d77e20 CMAKE - Move rdc_options into share/rdc/conf/
Change-Id: Ib2e792aef180f0f267d86d68c57b852b2cdc8ea6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-24 12:06:05 -06:00
Galantsev, Dmitrii d5ce61d95e CMAKE - Move rdc_options into share/rdc/conf/
Change-Id: Ib2e792aef180f0f267d86d68c57b852b2cdc8ea6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 99d4d77e20]
2025-01-24 12:06:05 -06:00
Ben Vanik 7d64fe49fa rocr: Fix HostQueue to obey the alignment requirement
Change-Id: I06542e9ff94e826ca0abba0328b301fec50a95ea
2025-01-24 12:08:11 -05:00
Saleel Kudchadker 9b7e0ad48a SWDEV-510186 - Improve logging of kernel names
- Demangle kernel names in logs

Change-Id: I9aa58e8c109becb45ef7fc747d991bd657c4190a
2025-01-24 11:43:02 -05:00
Pryor, Adam 6f358ddc9e SWDEV-508477 Eval Flops Percent (#85)
SWDEV-508477 - Profiler add FP*_PERCENT

Change-Id: Idb6250fe6b7ba3df6fe7d30861e0fbbda7e9bdce

Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-24 10:07:32 -06:00
Pryor, Adam 0186fc2481 SWDEV-508477 Eval Flops Percent (#85)
SWDEV-508477 - Profiler add FP*_PERCENT

Change-Id: Idb6250fe6b7ba3df6fe7d30861e0fbbda7e9bdce

Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>

[ROCm/rdc commit: 6f358ddc9e]
2025-01-24 10:07:32 -06:00
David Yat Sin 7ea25ebb85 rocr: Add thread priority for AsyncEventHandler
Set priority to maximum for signal event handler and minimum for
exceptions event handler.

Change-Id: I1b982d3c2e4c880fafc073fe1a542d01692a6fdc
2025-01-24 10:08:12 -05:00
Elwazir, Ammar b2c71e43cb Fixing collection period rocprofv3 help message (#148)
Update rocprofv3.py

[ROCm/rocprofiler-sdk commit: 19a912d476]
2025-01-24 08:39:40 -06:00
Elwazir, Ammar 19a912d476 Fixing collection period rocprofv3 help message (#148)
Update rocprofv3.py
2025-01-24 08:39:40 -06:00
Galantsev, Dmitrii e033fd4c55 CMAKE - Rename SMI_*_DIR into AMD_SMI_*_DIR
Change-Id: I3b8b852e6b68f1448c8ed5d5e6ea4579c470ff53
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-23 20:56:00 -06:00
Galantsev, Dmitrii 3218c2af5c CMAKE - Rename SMI_*_DIR into AMD_SMI_*_DIR
Change-Id: I3b8b852e6b68f1448c8ed5d5e6ea4579c470ff53
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: e033fd4c55]
2025-01-23 20:56:00 -06:00
Ma, Li 9dce427c69 Fix Memory Current Bandwidth (#98)
Adjust the calculation order to ensure accuracy.


Change-Id: Ica10769fa3dba10c67428d09ffd454fc09ed0da8

Signed-off-by: Li Ma <li.ma@amd.com>
2025-01-24 10:22:08 +08:00
Ma, Li 25853f01dc Fix Memory Current Bandwidth (#98)
Adjust the calculation order to ensure accuracy.


Change-Id: Ica10769fa3dba10c67428d09ffd454fc09ed0da8

Signed-off-by: Li Ma <li.ma@amd.com>

[ROCm/rdc commit: 9dce427c69]
2025-01-24 10:22:08 +08:00
stali e36d3fae22 fix topology issue 2025-01-24 09:22:42 +08:00
stali 01990d5121 fix topology issue
[ROCm/rdc commit: e36d3fae22]
2025-01-24 09:22:42 +08:00
Mallya, Ameya Keshava e5cd8ffa48 Added PSDB trigger for staging
[ROCm/roctracer commit: 3e1caf69ae]
2025-01-23 16:54:09 -08:00
Mallya, Ameya Keshava 3e1caf69ae Added PSDB trigger for staging 2025-01-23 16:54:09 -08:00
cfallows-amd a64129b34f Add ubuntu 24.04 detection for roofline bin loading. (#541)
Also updated docker script for dev usage.

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>

[ROCm/rocprofiler-compute commit: 7602341b70]
2025-01-23 19:53:50 -05:00
cfallows-amd 7602341b70 Add ubuntu 24.04 detection for roofline bin loading. (#541)
Also updated docker script for dev usage.

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
2025-01-23 19:53:50 -05:00
Mallya, Ameya Keshava ae8f4b32a7 Added PSDB trigger for staging 2025-01-23 16:53:25 -08:00
Mallya, Ameya Keshava a3bf6879da Added PSDB trigger for staging
[ROCm/rocprofiler commit: ae8f4b32a7]
2025-01-23 16:53:25 -08:00
Galantsev, Dmitrii ef77c0ed92 Fix workflow for rocprof by specifying GPU_TARGETS
Change-Id: I153f9e73471599fbcf68c73ad0ed9f4db7a742ef
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-23 18:38:34 -06:00
Galantsev, Dmitrii 61ff214b64 Fix workflow for rocprof by specifying GPU_TARGETS
Change-Id: I153f9e73471599fbcf68c73ad0ed9f4db7a742ef
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: ef77c0ed92]
2025-01-23 18:38:34 -06:00