Commit Graph

68520 Commits

Author SHA1 Message Date
Arif, Maisam 6123abe733 [SWDEV-538786] Fix ecc counts returning file error (#494)
Change-Id: I5cea584289df95e89b6151d549bf69e4c3e50d22

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: 967e879861]
2025-06-19 15:24:03 -05:00
Castillo, Juan 470c62f887 [SWDEV-531904] - Added GPU Cache Read Tests (#464)
New:
- gpu_cache_read.h and gpu_cache_read.cc
- Test reads GPU cache info and asserts valid structure
Updated:
- integration_test.py
- Added test_gpu_cache_info() and asserts valid structure
- test_get_gpu_compute_partition() to loop through all devices when test fail/pass
Added:
- test_get_gpu_compute_partition_returns_string() to integration_test.py
- This test displays the current compute partition for each bdf

---------

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Signed-off-by: Castillo, Juan <Juan.Castillo@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-06-19 15:23:34 -05:00
Castillo, Juan 4a55abaa05 [SWDEV-531904] - Added GPU Cache Read Tests (#464)
New:
- gpu_cache_read.h and gpu_cache_read.cc
- Test reads GPU cache info and asserts valid structure
Updated:
- integration_test.py
- Added test_gpu_cache_info() and asserts valid structure
- test_get_gpu_compute_partition() to loop through all devices when test fail/pass
Added:
- test_get_gpu_compute_partition_returns_string() to integration_test.py
- This test displays the current compute partition for each bdf

---------

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Signed-off-by: Castillo, Juan <Juan.Castillo@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: 470c62f887]
2025-06-19 15:23:34 -05:00
Sajina PK 6a8cef771e Show VCN and JPEG busy values where VCN/JPEG activity is not supported. (#232)
On AMD-SMI, in rocm 7.0, vcn_activity and jpeg_activity will not be reported when XCP (partition) stats, vcn_busy and jpeg_busy, are available. This causes the activity tracking to fail. The fix is to read the busy values when activity values are not supported.

For issue: SWDEV-536439

---------

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

[ROCm/rocprofiler-systems commit: e3741f678b]
2025-06-19 16:23:30 -04:00
Sajina PK e3741f678b Show VCN and JPEG busy values where VCN/JPEG activity is not supported. (#232)
On AMD-SMI, in rocm 7.0, vcn_activity and jpeg_activity will not be reported when XCP (partition) stats, vcn_busy and jpeg_busy, are available. This causes the activity tracking to fail. The fix is to read the busy values when activity values are not supported.

For issue: SWDEV-536439

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-06-19 16:23:30 -04:00
Narlo, Joseph 57a749f457 [SWDEV-537038] amd-smi-lib build failing Fix for integration_test.py (#496)
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com>
2025-06-19 15:12:31 -05:00
Narlo, Joseph f543f77e30 [SWDEV-537038] amd-smi-lib build failing Fix for integration_test.py (#496)
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com>

[ROCm/amdsmi commit: 57a749f457]
2025-06-19 15:12:31 -05:00
Pham, Gabriel 4262aee8f5 [SWDEV-531386] Changed source of metric GFX and MEM min and max clk to pp_od_clk_voltage (#453)
* Made corrections to reading of pp_od_clk_voltage
* Added fall back to pp_dpm files if pp_od_clk_voltage doesn't exist

---------

Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-06-19 15:00:45 -05:00
Pham, Gabriel aa95feee60 [SWDEV-531386] Changed source of metric GFX and MEM min and max clk to pp_od_clk_voltage (#453)
* Made corrections to reading of pp_od_clk_voltage
* Added fall back to pp_dpm files if pp_od_clk_voltage doesn't exist

---------

Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: 4262aee8f5]
2025-06-19 15:00:45 -05:00
Ramakrishnan, Ranjith 1e0dc5ef34 SWDEV-535853 - Update the dependencies of rocm-opencl package (#462)
Currently rocm-opencl depends on ocl-icd runtime package. libopencl.so is part of ocl-icd-dev/devel package
Added the same to the dependency list of rocm-opencl-dev/devel package

[ROCm/clr commit: 7a2ba7e5db]
2025-06-19 11:32:32 -07:00
Ramakrishnan, Ranjith 7a2ba7e5db SWDEV-535853 - Update the dependencies of rocm-opencl package (#462)
Currently rocm-opencl depends on ocl-icd runtime package. libopencl.so is part of ocl-icd-dev/devel package
Added the same to the dependency list of rocm-opencl-dev/devel package
2025-06-19 11:32:32 -07:00
Samuel Thibault 42dc44f54d rsmi_init: Do not complain loudly when no driver is found
When librocm-smi is pulled through a dependency, we may end up on a system
without actual hardware supported by ROCM, and rsmi_init() failing is
actually expected, we do want to frighten the user in such a case.


[ROCm/rocm_smi_lib commit: 8ca4207d5c]
2025-06-19 13:30:51 -05:00
Samuel Thibault 8ca4207d5c rsmi_init: Do not complain loudly when no driver is found
When librocm-smi is pulled through a dependency, we may end up on a system
without actual hardware supported by ROCM, and rsmi_init() failing is
actually expected, we do want to frighten the user in such a case.
2025-06-19 13:30:51 -05:00
Galantsev, Dmitrii ca52da194d rsmi_init: Do not complain loudly when no driver is found (#74)
Co-authored-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2025-06-19 13:22:48 -05:00
Galantsev, Dmitrii a480b2869d rsmi_init: Do not complain loudly when no driver is found (#74)
Co-authored-by: Samuel Thibault <samuel.thibault@ens-lyon.org>


[ROCm/amdsmi commit: ca52da194d]
2025-06-19 13:22:48 -05:00
Narlo, Joseph db3d763aad [SWDEV-482203] amd-smi Usage basics for C Library Multiple doc errors (#477)
* Added finding rocm include and library paths in code examples

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
2025-06-19 11:25:57 -05:00
Narlo, Joseph 154d266abc [SWDEV-482203] amd-smi Usage basics for C Library Multiple doc errors (#477)
* Added finding rocm include and library paths in code examples

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>

[ROCm/amdsmi commit: db3d763aad]
2025-06-19 11:25:57 -05:00
josnarlo 99b2bfbc61 [SWDEV-537038] amd_smi-lib build failing Fix for integration_test.py
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
2025-06-19 11:23:25 -05:00
josnarlo 0862dd11fb [SWDEV-537038] amd_smi-lib build failing Fix for integration_test.py
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>


[ROCm/amdsmi commit: 99b2bfbc61]
2025-06-19 11:23:25 -05:00
Justin Williams 81d58f06d1 Adjusted amd-smi set --compute-partition docs
Signed-off-by: Justin Williams <juwillia@amd.com>
2025-06-19 10:58:04 -05:00
Justin Williams 31df8b46bd Adjusted amd-smi set --compute-partition docs
Signed-off-by: Justin Williams <juwillia@amd.com>


[ROCm/amdsmi commit: 81d58f06d1]
2025-06-19 10:58:04 -05:00
gabrpham_amdeng 9729aba695 Adjusted CU % logic to be more robust 2025-06-19 10:57:19 -05:00
gabrpham_amdeng 771e3019ad Adjusted CU % logic to be more robust
[ROCm/amdsmi commit: 9729aba695]
2025-06-19 10:57:19 -05:00
gabrpham_amdeng fd751ba918 Changed NUM_CU to CU % 2025-06-19 10:57:19 -05:00
gabrpham_amdeng d049815647 Changed NUM_CU to CU %
[ROCm/amdsmi commit: fd751ba918]
2025-06-19 10:57:19 -05:00
gabrpham 9e221a3f09 Added GTT Memory to process table of default command
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
2025-06-19 10:57:19 -05:00
gabrpham 66d3ffe65a Added GTT Memory to process table of default command
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>


[ROCm/amdsmi commit: 9e221a3f09]
2025-06-19 10:57:19 -05:00
gabrpham 8a0e65d911 Added GTT Memory to default command and adjusted table format
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
2025-06-19 10:57:19 -05:00
gabrpham 0e30436a0f Added GTT Memory to default command and adjusted table format
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>


[ROCm/amdsmi commit: 8a0e65d911]
2025-06-19 10:57:19 -05:00
Manocha, Rahul 91a6727ea6 SWDEV-538600 - Fix error code checks in some tests (#305)
[ROCm/hip-tests commit: b215381bbe]
2025-06-19 21:11:54 +05:30
Manocha, Rahul b215381bbe SWDEV-538600 - Fix error code checks in some tests (#305) 2025-06-19 21:11:54 +05:30
Galantsev, Dmitrii 4262802588 CLI - Fix partition json output
Change-Id: I2b9e575cb960db7c136776bfe5c040b27feba727
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-19 10:34:57 -05:00
Galantsev, Dmitrii 06b8484bbc CLI - Fix partition json output
Change-Id: I2b9e575cb960db7c136776bfe5c040b27feba727
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 4262802588]
2025-06-19 10:34:57 -05:00
David Galiffi fb177c8352 Update pull_request_template.md (#258)
Rewording the "related issues" comments

[ROCm/rocprofiler-systems commit: 20efb9641f]
2025-06-19 11:06:13 -04:00
David Galiffi 20efb9641f Update pull_request_template.md (#258)
Rewording the "related issues" comments
2025-06-19 11:06:13 -04:00
Sang, Tao 0faa7d7c95 SWDEV-519446 Part 2: Update unsafe atomic function file header (#394)
* SWDEV-519446 Part 2: Update unsafe atomic function file header
* Use  __HIP_ATOMICS_IGNORE_DENORMAL_MODE to denote [[clang::atomic(ignore_denormal_mode)]] when condition met.

[ROCm/clr commit: 428fce9fd6]
2025-06-19 19:12:59 +05:30
Sang, Tao 428fce9fd6 SWDEV-519446 Part 2: Update unsafe atomic function file header (#394)
* SWDEV-519446 Part 2: Update unsafe atomic function file header
* Use  __HIP_ATOMICS_IGNORE_DENORMAL_MODE to denote [[clang::atomic(ignore_denormal_mode)]] when condition met.
2025-06-19 19:12:59 +05:30
Yat Sin, David 16ae2e90c6 Remove unnecessary dependency on hsakmt (#57) 2025-06-18 21:01:23 -05:00
Yat Sin, David 1360fbfd64 Remove unnecessary dependency on hsakmt (#57)
[ROCm/rocprofiler commit: 16ae2e90c6]
2025-06-18 21:01:23 -05:00
ajanicijamd ad2e95de05 Modified nic-performance test to download a smaller file (#253)
[ROCm/rocprofiler-systems commit: 4346c1c217]
2025-06-18 19:39:48 -04:00
ajanicijamd 4346c1c217 Modified nic-performance test to download a smaller file (#253) 2025-06-18 19:39:48 -04:00
Cheruvally, Aravindan 457ca05c6b SWDEV-538841 - Update libc dependency (#29)
[ROCm/rocm-core commit: 4819f8e6af]
2025-06-18 16:27:49 -07:00
Cheruvally, Aravindan 4819f8e6af SWDEV-538841 - Update libc dependency (#29) 2025-06-18 16:27:49 -07:00
David Yat Sin b3c48cc68c rocr: support reserving non-registered VA
Extend hsa_amd_vmem_address_reserve/hsa_amd_vmem_address_reserve_align
to support HSA_AMD_VMEM_ADDRESS_NO_REGISTER flag. This allocation can be
used to reserve virtual address ranges that can later be used by
hsa_amd_svm_attributes_set for SVM based memory allocations.
2025-06-18 18:21:11 -04:00
David Yat Sin 39bddd8b9d rocr: support reserving non-registered VA
Extend hsa_amd_vmem_address_reserve/hsa_amd_vmem_address_reserve_align
to support HSA_AMD_VMEM_ADDRESS_NO_REGISTER flag. This allocation can be
used to reserve virtual address ranges that can later be used by
hsa_amd_svm_attributes_set for SVM based memory allocations.


[ROCm/ROCR-Runtime commit: b3c48cc68c]
2025-06-18 18:21:11 -04:00
jamessiddeley-amd 979c59fadc added progress printout in rocprof-compute profile (#727)
* added progress printout for profiler

* added comments and fixed readability

* removed redundant newlines

* moved format_time helper function to utils

* removed tqdm and redundant time calc

[ROCm/rocprofiler-compute commit: 036866fc12]
2025-06-18 14:09:09 -04:00
jamessiddeley-amd 036866fc12 added progress printout in rocprof-compute profile (#727)
* added progress printout for profiler

* added comments and fixed readability

* removed redundant newlines

* moved format_time helper function to utils

* removed tqdm and redundant time calc
2025-06-18 14:09:09 -04:00
xuchen-amd 9d50115bd7 Integrate roofline in tui (#762)
* Update changelog, remove unused code.

* enable roofline in TUI.

* Remove roofline section when data not available.

* Fix workload dir path.

[ROCm/rocprofiler-compute commit: 5d8fd55e36]
2025-06-18 13:58:42 -04:00
xuchen-amd 5d8fd55e36 Integrate roofline in tui (#762)
* Update changelog, remove unused code.

* enable roofline in TUI.

* Remove roofline section when data not available.

* Fix workload dir path.
2025-06-18 13:58:42 -04:00
Luu, Jonathan 337cbeba6f SWDEV-531400 - Remove File reorganization backward computability (roctracer) (#40)
* SWDEV-531400 - Remove File reorganization backward computability (roctracer)

* removing no longer needed files

---------

Co-authored-by: Jonathan Luu <jonatluu@amd.com>

[ROCm/roctracer commit: 9a620d64d9]
2025-06-18 13:33:41 -04:00