Commit Graph

37726 Commits

Author SHA1 Message Date
dependabot[bot] ccb315787e Bump jinja2 from 3.1.4 to 3.1.6 in /docs/sphinx (#134)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-07 13:55:51 -07:00
AL Musaffar, Yazen cf566ebd31 RDC REST API (Sample code)
Please follow the README file

Update README_rdc_rest_api.txt

Update RDC_REST_API.py

Error handling updates

Updates for error handling

Updates

Updates for rdc_field_watch/rdc_field_unwatch and delete query

Updates for rdc_field_watch/rdc_field_unwatch and delete query

SWDEV-479738 [RDC] - Rest API

Delete python_binding/RDC_REST_API.py

new rdc_rest_api.py file for SWDEV-479738 [RDC] - Rest API
2025-03-07 20:48:15 +00:00
AL Musaffar, Yazen b4ef4331db RDC REST API (Sample code)
Please follow the README file

Update README_rdc_rest_api.txt

Update RDC_REST_API.py

Error handling updates

Updates for error handling

Updates

Updates for rdc_field_watch/rdc_field_unwatch and delete query

Updates for rdc_field_watch/rdc_field_unwatch and delete query

SWDEV-479738 [RDC] - Rest API

Delete python_binding/RDC_REST_API.py

new rdc_rest_api.py file for SWDEV-479738 [RDC] - Rest API


[ROCm/rdc commit: cf566ebd31]
2025-03-07 20:48:15 +00:00
adapryor e847f74f78 Fix Prometheus counters
default to gauage

Change-Id: Ia0428e61f023f10b02b3ebe103870d40c057abe3

Change values in question to gauges

Change-Id: I81c91c880246342a0ad0586f6dbe50b247a01117

fixes

Change-Id: I949438d3d3b511c22649640e082b59a3fb7696e0

Fix info handling

Change-Id: I8091fbfa55ba5a9c21c4569dd40e37fb432924f3

fix default

Change-Id: Ia449fed18730a06a858107e9218dc7b443a681fb
2025-03-07 20:48:11 +00:00
adapryor 7113c62704 Fix Prometheus counters
default to gauage

Change-Id: Ia0428e61f023f10b02b3ebe103870d40c057abe3

Change values in question to gauges

Change-Id: I81c91c880246342a0ad0586f6dbe50b247a01117

fixes

Change-Id: I949438d3d3b511c22649640e082b59a3fb7696e0

Fix info handling

Change-Id: I8091fbfa55ba5a9c21c4569dd40e37fb432924f3

fix default

Change-Id: Ia449fed18730a06a858107e9218dc7b443a681fb


[ROCm/rdc commit: e847f74f78]
2025-03-07 20:48:11 +00:00
Kandula, Venkateshwar reddy 6db4554b89 rocprofv3-test-trace-hip-in-libraries-validate failed in PSDB (#248)
* capture streams by reference

* Fix sync_stream in tests/bin/vector-operations

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Bhardwaj, Gopesh <Gopesh.Bhardwaj@amd.com>

[ROCm/rocprofiler-sdk commit: cc18b95c7f]
2025-03-07 14:43:29 -06:00
Kandula, Venkateshwar reddy cc18b95c7f rocprofv3-test-trace-hip-in-libraries-validate failed in PSDB (#248)
* capture streams by reference

* Fix sync_stream in tests/bin/vector-operations

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Bhardwaj, Gopesh <Gopesh.Bhardwaj@amd.com>
2025-03-07 14:43:29 -06:00
Pengda Xie b02b1858c0 SWDEV-497619 - Ensure suballocSize is integer multiple of 4096
Change-Id: Iefc452d73566f58cfb63391a68c836f30d77dd6c
2025-03-07 15:36:57 -05:00
zichguan-amd 3415a500c7 Throw exception when runtime not initialized for hsa_amd_signal_wait_*
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
2025-03-07 15:17:10 -05:00
zichguan-amd e4d027191c rocr: Allow 0/NULL/invalid signal handles for wait operations to be no-op
Remove hard assertions for signal validation on hsa_amd_signal_wait_* operations, instead ignore 0/NULL/invalid signals in the dependency condition evaluation to align with HSA specs for barrier-AND and barrier-OR packets.

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
2025-03-07 15:17:10 -05:00
Tao Sang 94eea4db59 SWDEV-505853 - Fix Unit_hipMemPoolApi_BasicAlloc in mgpu
Unit_hipMemPoolApi_BasicAlloc expects to work on device 0, but other
tests will set not-0 devices in mgpu. This leads to hang of
Unit_hipMemPoolApi_BasicAlloc. Fix by set device 0 in head code
of Unit_hipMemPoolApi_BasicAlloc.

SWDEV-508872 - Fix Perf_hipPerfMemFill_test

When mem size is 2G, the test is so slow that it looks like stuckness.
Set top mem size to 1G can make the test pass in an acceptiable time.

Change-Id: Ie26dbf597e5ba8cb898d1aae5ed5ecf0267c3228
2025-03-07 14:52:10 -05:00
Sajina PK c41f69eae4 Add contributing guidelines (#119)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 0071fd2d81]
2025-03-07 14:47:30 -05:00
Sajina PK 0071fd2d81 Add contributing guidelines (#119)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-03-07 14:47:30 -05:00
Khatri, Shweta 9638da7467 Added gfx94x and gfx11xx IDs to enumerator (#5) 2025-03-07 13:56:43 -05:00
cfallows-amd 54ec17a185 FP8 roofline support (#592)
Adding FP8 datatype to roofline feature in rocprof-compute on MI300-based systems.
FP8 now shows in terminal output and roofline csv, and outputs a standalone PDF.

---------

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

[ROCm/rocprofiler-compute commit: 848fa1dc18]
2025-03-07 11:27:01 -05:00
cfallows-amd 848fa1dc18 FP8 roofline support (#592)
Adding FP8 datatype to roofline feature in rocprof-compute on MI300-based systems.
FP8 now shows in terminal output and roofline csv, and outputs a standalone PDF.

---------

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
2025-03-07 11:27:01 -05:00
Fei Zheng 5793abe46e fix specs-correction
[ROCm/rocprofiler-compute commit: f64c83fc5e]
2025-03-07 11:27:01 -05:00
Fei Zheng f64c83fc5e fix specs-correction 2025-03-07 11:27:01 -05:00
xuchen-amd 66d538c2e0 Disable --kokkos-trace in rocprof-compute (#594)
.

[ROCm/rocprofiler-compute commit: 1b6bc89137]
2025-03-07 11:27:01 -05:00
xuchen-amd 1b6bc89137 Disable --kokkos-trace in rocprof-compute (#594)
.
2025-03-07 11:27:01 -05:00
xuchen-amd 663a41075b Fix rocprofv1 output processing. (#588)
[ROCm/rocprofiler-compute commit: b81310070e]
2025-03-07 11:27:01 -05:00
xuchen-amd b81310070e Fix rocprofv1 output processing. (#588) 2025-03-07 11:27:01 -05:00
vedithal-amd 536fb5ea26 Fix post analysis gui in standalone binary (#591)
* Fix post analysis gui in standalone binary

* Add post analysis gui assets and required server libraries for GUI
  server and web page

* Add port forwarding to docker test compose

* Update README me to use `docker compose up` instead of `docker compose run`
  to run containers with port forwarding and to leverage other
  functionalities of docker compose

[ROCm/rocprofiler-compute commit: 0b3114fa88]
2025-03-07 11:27:01 -05:00
vedithal-amd 0b3114fa88 Fix post analysis gui in standalone binary (#591)
* Fix post analysis gui in standalone binary

* Add post analysis gui assets and required server libraries for GUI
  server and web page

* Add port forwarding to docker test compose

* Update README me to use `docker compose up` instead of `docker compose run`
  to run containers with port forwarding and to leverage other
  functionalities of docker compose
2025-03-07 11:27:01 -05:00
David Galiffi 663e5b0766 Update libraries' SOVERSION to match other ROCm components (#98)
set SOVERSION to ${PROJECT_VERSION_MAJOR}

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 5fc495c1e7]
2025-03-07 10:18:36 -05:00
David Galiffi 5fc495c1e7 Update libraries' SOVERSION to match other ROCm components (#98)
set SOVERSION to ${PROJECT_VERSION_MAJOR}

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-03-07 10:18:36 -05:00
Rakesh Roy 5da8ce45ab Revert "SWDEV-508982 - [6.4 Preview] - Handle hipMemPoolCreate, hipMemPoolDestory & hipDeviceSetMemPool during stream capture."
This reverts commit 57df1b348f.

Reason for revert: 6.4 Preview changes need not be merged to amd-staging as of now

Change-Id: I86452adfed14655f72d90440a486089743cc6587
2025-03-07 06:43:24 -05:00
Rakesh Roy 4206405514 Revert "SWDEV-510271 - [6.4 Preview] fix hipCreateSurfaceObject & hipDestroySurfaceObject during stream capture"
This reverts commit c07468e53c.

Reason for revert: 6.4 Preview changes need not be merged to amd-staging as of now

Change-Id: Ifba0c8a248bc40deaa9c59b7f2901531300e5ea4
2025-03-07 06:42:12 -05:00
Rakesh Roy 3fa6049c46 Revert "SWDEV-508980 - [6.4 Preview] fix hipDeviceSetCacheConfig during stream capture"
This reverts commit 9faaf20aae.

Reason for revert: 6.4 Preview changes need not be merged to amd-staging as of now

Change-Id: I04af8603053338f08c396e78ff8a6715e641ca19
2025-03-07 06:40:53 -05:00
David Galiffi ab5d13b3bf Update runners to use ubuntu-latest (#131)
[ROCm/rocprofiler-systems commit: fdb6f4f6b4]
2025-03-06 18:11:19 -05:00
David Galiffi fdb6f4f6b4 Update runners to use ubuntu-latest (#131) 2025-03-06 18:11:19 -05:00
Sajina PK 527cfcafa4 Documentation update for VCN, JPEG, rocDecode and rocJPEG feature (#109)
* Documentation update for VCN, JPEG, rocDecode and rocJPEG feature

Update documents to include the new tracks for tracing VCN and JPEG
activity.
Update the rocDecode and rocJPEG tracing enabled using ROCprofiler-SDK.
Update headings to the perfetto output images.

* Add few more lines about domain values.

* Add missing words to the dictionary

[ROCm/rocprofiler-systems commit: 2222ce9b83]
2025-03-06 18:03:33 -05:00
Sajina PK 2222ce9b83 Documentation update for VCN, JPEG, rocDecode and rocJPEG feature (#109)
* Documentation update for VCN, JPEG, rocDecode and rocJPEG feature

Update documents to include the new tracks for tracing VCN and JPEG
activity.
Update the rocDecode and rocJPEG tracing enabled using ROCprofiler-SDK.
Update headings to the perfetto output images.

* Add few more lines about domain values.

* Add missing words to the dictionary
2025-03-06 18:03:33 -05:00
Ioannis Assiouras 8f54aeb765 SWDEV-511813 - Fix linkage of hipRTC-header.o into libhiprtc.a
Using target_link_libraries does not properly link the hipRTC-header.o
into libhiprtc for static build. Change to use target_sources instead.
This does not affect the linkage in the shared build.

Change-Id: I626f9eacc1637b792a50e7ddddb5db09e704ac4a
2025-03-06 16:29:57 -05:00
David Yat Sin 02b38d0614 rocr: Put back scratch_backing_memory_byte_size
The scratch_backing_memory_byte_size is not used by CP, but it is
currently used by rocgdb. Putting the field back, but we need to find a
solution for alt_scratch_backing_memory_byte_size.

Also, completely disabling alternate scratch as we need some changes to
support debugger.
2025-03-06 16:23:38 -05:00
Julia Jiang 3cdab14a23 SWDEV-509855 - Update hipDeviceAttributePciDomainID in hipother
Change-Id: Ib245c90c78a27ea48875aa183c1727a17b62c936
2025-03-06 15:34:29 -05:00
David Galiffi 92e439627e Fix logging error (#130)
When we create profile config with rocprofiler we log the counters being registered. However, this log was being skipped in certain cases.

[ROCm/rocprofiler-systems commit: eb0a969a9c]
2025-03-06 14:30:45 -05:00
David Galiffi eb0a969a9c Fix logging error (#130)
When we create profile config with rocprofiler we log the counters being registered. However, this log was being skipped in certain cases.
2025-03-06 14:30:45 -05:00
Jonathan Kim c879fdefcf kfdtest: Add KFD SDMA queue reset testing
The KFD can per-SDMA queue reset similar to compute queue reset.
Add test.
2025-03-06 14:04:42 -05:00
Jonathan Kim ee890e7d2b kfdtest: Add KFD SDMA queue reset testing
The KFD can per-SDMA queue reset similar to compute queue reset.
Add test.
2025-03-06 14:04:42 -05:00
Jonathan Kim d047708317 kfdtest: Allow user to modify packet size for SDMA write packets
This is primarily used for debug and negative testing for SDMA queue
reset and shouldn't be used for normal run cases.
2025-03-06 14:04:42 -05:00
Jonathan Kim 9e57ce48e8 kfdtest: Add create SDMA queue by target engine
KFD supports SDMA queue creation by target engine.
Enable this for testing.
2025-03-06 14:04:42 -05:00
Jonathan Kim a957b24153 kfdtest: Add SDMA poll memory register packet support
The SDMA can wait on poll user memory.  This is being added to
support per-SDMA queue reset testing.
2025-03-06 14:04:42 -05:00
Jonathan Kim e3d09e30dc hsakmt: Expose per-SDMA queue reset capabilities
Expose new capabilities field that flags per-sdma queue reset
support.
2025-03-06 14:04:42 -05:00
Jacob Lambert 2e2b6b3592 SWDEV-518221 Fix major/minor Comgr version check
Change-Id: I2210aadafcae984dafc68c3fe16508bb2b409077
2025-03-06 13:02:34 -05:00
Julia Jiang 6b5a5dde28 SWDEV - 508961 - Update requestedHandleType in hip-tests repos
Change-Id: I5d8a1ae1d36ecdf2786dbd8a6e83c3692592efb6
2025-03-06 11:38:14 -05:00
Julia Jiang e5425393b4 SWDEV - 508961 - Update requestedHanleTye in CLR repos
Change-Id: I6949a36c5b0bb8e88a2a33ed13ae8f278a5b19c7
2025-03-06 11:37:31 -05:00
Ioannis Assiouras d33a0fa75a SWDEV-518423 - Remove incorrect Unit_hipMemSetAccess_AccessDirectlyFromHost test
The test sets the hipMemCreate and hipMemSetAccess properties
to device but accesses the mapped memory directly from the host.

Change-Id: I2ae51a2658acc01aff39fc371ba97191cc9b3878
2025-03-06 11:31:35 -05:00
Ioannis Assiouras cfb6a08bc0 SWDEV-516461 - Skip hipmemcpy call to device dst that is freed, for xnack
Change-Id: Icd08675de881e70054e2ba7be17c62d095d33d8c
2025-03-06 11:26:18 -05:00
Su, Daniel 11823451e6 External CI: change trigger from amd-master to amd-mainline 2025-03-06 10:29:58 -05:00