İşleme Grafiği

174 İşleme

Yazar SHA1 Mesaj Tarih
yugang-amd 05a6d017c6 [ROCmInfo] docs: mono-repo changes and style edits (#2584)
* initial edits

* mono repo related updates

* standardize component name

* style edits

* more edits
2026-01-20 18:06:54 -05:00
yugang-amd fe60c39256 Bump rocm-docs-core to 1.31.2 (#2627)
* Update requirements.in

* Update requirements.txt
2026-01-15 13:18:30 -05:00
arvindcheru 21afa807a9 Enable Lintian Support for ROCM-SMI, ROCMINFO (#1650)
* Enable Lintian Support for ROCM-SMI

* Enable Lintian Support for ROCMINFO

* Updated Lintian Override File Processing

* Update UT Fix for Lintian rocmsmi,rocminfo

* Update UT Fixes, Review Comments

* Update Review Comments - removed extra white spaces, added error check for gzip, date commands

* Update Review Comments - Correcting License Type

* Sync Lintian ChangeLog

* Changelog data sync enhanced

* Update Review Comments, UT fix

* white space cleanup - precommit check
2025-12-15 14:35:28 -06:00
Mario Limonciello b106e6f175 Run pre-commit's whitespace related hooks on projects/rocminfo (#2115)
In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
2025-12-11 15:41:47 -06:00
Flora Cui a433e6f48d rocminfo: early detect absence of unsupported GPU in wsl (#1317)
Add an early check in WSL to detect when no supported GPU is available.
otherwise rocm_agent_enumerator will keep retrying rocminfo for one
minute, causing unnecessary delay.

Signed-off-by: Flora Cui <flora.cui@amd.com>
Co-authored-by: harkgill-amd <harkgill@amd.com>
2025-10-21 11:15:44 +08:00
David Yat Sin b7095616b9 fix: fix -Wunused-parameter (#1017)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-09-22 11:12:44 -04:00
David Yat Sin b192a84396 build: update CMake file (#1015)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-09-18 09:27:11 -04:00
cfreeamd 7ca8881862 rocminfo: move header comment after opening # line (#1025) 2025-09-16 22:19:26 -07:00
Alysa Liu 7277ecc9a3 rocminfo: Add copyright for new files (#888)
Legal Requirements:

For AMD software being released as open source, add copyright at the top of each new file.

Signed-off-by: Alysa Liu <Alysa.Liu@amd.com>
2025-09-15 11:36:49 -04:00
harkgill-amd 782dc9214b Fix: Error messages printed to stderr to trigger CMake Error Variable (#743)
This PR intends to cover the edge case seen in https://github.com/ROCm/rocm-systems/issues/694. 

`hip-config-amd.cmake` uses rocm_agent_enumerator to determine which GPU architecture to target when no target is specified.
https://github.com/ROCm/rocm-systems/blob/9a02dae75f8df9d8f08923d34d06d76e96ced7b4/projects/clr/hipamd/hip-config-amd.cmake.in#L86-L95

On WSL, both `readFromKFD` and `readFromLSPCI` are skipped. If `readFromTargetLstFile()` isn't in use, `readFromROCMINFO()` is called on. If rocminfo times out, it prints the following message to stdout.
```
"Timeout querying rocminfo.  Are you compiling with more than 254 threads?"
```
Because this is output and not an explicit error message, `execute_command` in the previous code blocks treats the output as `OUTPUT_VARIABLE` and passes it on as a valid gfx arch which causes these errors in CMake,
```
lang++: error: invalid target ID 'Timeout'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')
    clang++: error: invalid target ID 'querying'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')
    clang++: error: invalid target ID 'rocminfo.'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')
    clang++: error: invalid target ID 'Are'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')
    clang++: error: invalid target ID 'you'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')
    clang++: error: invalid target ID 'compiling'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')
```
The output can be properly pushed to `ERROR_VARIABLE` if rocm_agent_enumerator pushes the output to stderr instead of stdout. This can be done with the changes to the print statement in this PR or using the `logging` module.
2025-09-04 15:12:41 -04:00
David Yat Sin 6f09eb3418 rocminfo: unset executable flag (#314)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-08-12 21:13:45 -04:00
David Yat Sin a80c19285e rocminfo: Fix comparison to None (#313)
from PEP8 (https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with
is or is not, never the equality operators.

Author: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-08-12 17:14:49 -04:00
Aaron Liu 635e20c781 Add ROC-DTIF backend support for rocminfo
Signed-off-by: Aaron Liu <aaron.liu@amd.com>


[ROCm/rocminfo commit: cd0f8c6173]
2025-05-14 01:16:21 +08:00
Hila, Nino 72c35d8689 Update palamida.yml (#12)
* Add palamida.yml - removing url

[ROCm/rocminfo commit: eb62039fac]
2025-05-12 21:50:26 -07:00
Hila, Nino df7597851a Add palamida.yml (#11)
[ROCm/rocminfo commit: 61eb6895dc]
2025-04-22 15:55:03 -07:00
Mallya, Ameya Keshava 265ef6e71a Added KWS check for amd-mainline (#9)
[ROCm/rocminfo commit: 5c8c974e71]
2025-03-28 09:19:43 -07:00
lyndonli 157533a28b Remove WSL checks for displaying UUID and BDFID
Signed-off-by: lyndonli <Lyndon.Li@amd.com>


[ROCm/rocminfo commit: 38e9f399a2]
2025-03-26 13:26:34 +08:00
Yat Sin, David 6d34b567df Fix for typo in ISA_TO_ID table (#6)
Change-Id: Id0720988fb01079a3ca6f3287dc743d93db4fd0f


[ROCm/rocminfo commit: ac6000dc47]
2025-03-25 10:30:04 -04:00
Mallya, Ameya Keshava b893ed2aa4 Added release trigger for further releases
[ROCm/rocminfo commit: 7caeb3292f]
2025-03-14 14:00:09 -07:00
Khatri, Shweta 043657e70f Use idomatic approach to extending CMAKE_MODULE_PATH. (#7)
There are many reasons why there may already be a CMAKE_MODULE_PATH defined.
The idiomatic way to extend it in a project is via list(APPEND).

https://github.com/ROCm/rocminfo/pull/97 submitted by @stellaraccident

Co-authored-by: Stella Laurenzo <Stella.Laurenzo@amd.com>

[ROCm/rocminfo commit: 8503ec36ca]
2025-03-14 08:16:56 -07:00
Khatri, Shweta 5a6a6912d9 Added gfx94x and gfx11xx IDs to enumerator (#5)
[ROCm/rocminfo commit: 9638da7467]
2025-03-07 13:56:43 -05:00
Su, Daniel 302e558998 External CI: change trigger from amd-master to amd-mainline
[ROCm/rocminfo commit: 11823451e6]
2025-03-06 10:29:58 -05:00
benrichard-amd 838e46af4d Obey CMAKE_BUILD_TYPE
Obey CMAKE_BUILD_TYPE when it is passed on the command line. Previous
behavior remains:

Debug by default
ROCRTST_BLD_TYPE can set build type


[ROCm/rocminfo commit: 0607268260]
2025-02-08 13:33:12 -05:00
Choudhary, Rahul 2b33ff1fbf Delete .github/rocm_ci_caller.yml
[ROCm/rocminfo commit: 33ac653411]
2025-01-31 16:06:10 -08:00
Choudhary, Rahul 6b5ce8f729 Create rocm_ci_caller.yml
[ROCm/rocminfo commit: 6bd1718fd1]
2025-01-31 16:05:53 -08:00
Choudhary, Rahul b5e0d3473a Create rocm_ci_caller.yml
[ROCm/rocminfo commit: 0e1d6396cc]
2025-01-31 15:43:24 -08:00
Choudhary, Rahul 68f0c67d37 Create kws_caller.yml and rocm_ci_caller.yml
Enabling ROCM CI workflow

[ROCm/rocminfo commit: 0f7c9495f4]
2025-01-31 15:42:44 -08:00
Chris Freehill 44522c86f0 rocminfo: Update Debian depends to use libgcc1
Change-Id: I49e8f534393abe6b93f52a545e4baec720b6edde


[ROCm/rocminfo commit: e07320467c]
2025-01-21 12:08:37 -06:00
Chris Freehill 425d206003 Support for generic ISAs in rocm_agent_enumerator
Change-Id: Ie6cf2f1930e27afd6564250e108af1f10864946e


[ROCm/rocminfo commit: 7f417dc598]
2025-01-10 10:46:15 -06:00
Longlong Yao 7c4a146742 Use /dev/dxg to detect wsl environment
Since wslinfo does not exist in docker running on wsl,
change the way to detect wsl environment.

Change-Id: I215eb985a227caeef47483cd51818c84bf1d8a4c
Signed-off-by: Longlong Yao <Longlong.Yao@amd.com>


[ROCm/rocminfo commit: 22ed708c39]
2024-12-16 20:18:53 -08:00
Alex Xu 6cc8f7ec13 rocminfo fails when amdgpu is built into the kernel
When amdgpu is built into the kernel, /sys/module/amdgpu/initstate will not be created even when the driver is functional. However, test shows /sys/module/amdgpu will be present. Adding an additional check for /sys/module/amdgpu when /sys/module/amdgpu/instate is not present.

Change-Id: Ie5c67c7e1eff8ac1683b211aaec802d0d342aeeb


[ROCm/rocminfo commit: c6f7a17c85]
2024-09-24 10:59:22 -04:00
David Yat Sin eb5491e777 Add queries for xnack_enabled and vmm support
Change-Id: I7200fdc4c3086e92d60fbf785be89fb5d441409c


[ROCm/rocminfo commit: 9537420254]
2024-09-05 10:32:27 -04:00
David Yat Sin 8b1babb9c7 Remove extra print for gfx000
Removing extra print that was added for backward compatibility.

Change-Id: I12a5346708886861a6e3cd6440830e6425e647d9


[ROCm/rocminfo commit: 9f6d7cdf6b]
2024-08-23 18:19:41 +00:00
Chris Freehill 2722be7fa9 Add CONTRIBUTING.md file
Change-Id: I8f31240d485aa1cfc259e5882de5d73d55c95409


[ROCm/rocminfo commit: 08693587d6]
2024-08-19 16:12:31 +00:00
Ranjith Ramakrishnan 8df83d6dd6 Removed kmod dependency from rocminfo
kmod dependency is not at all required for rocminfo. Removing the same from the package dependency list

Change-Id: I58f9c4305585c5dd770ea3c6a6298c30c89c31b5


[ROCm/rocminfo commit: 63ff6a4b30]
2024-08-19 16:12:31 +00:00
Ranjith Ramakrishnan 6072326740 Prevent the modification of interpreter directives
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same

Change-Id: I0803d0a6cc1ddc991e8e9a8e6617436930ef013a


[ROCm/rocminfo commit: aa8a83815e]
2024-08-06 10:54:27 -04:00
dependabot[bot] 75ca98570c Bump rocm-docs-core from 1.4.0 to 1.5.0 in /docs/sphinx
Bumps [rocm-docs-core](https://github.com/ROCm/rocm-docs-core) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Change-Id: I60c2d94a447b71ca0ce26a87b7f55b055b8bef9e


[ROCm/rocminfo commit: 0600911f0b]
2024-07-11 10:01:23 -04:00
dependabot[bot] 6fbc261d94 Bump rocm-docs-core from 1.2.1 to 1.4.0 in /docs/sphinx
Bumps [rocm-docs-core](https://github.com/ROCm/rocm-docs-core) from 1.2.1 to 1.4.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.2.1...v1.4.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Change-Id: I60c2d94a447b71ca0ce26a87b7f55b055b8aff8e


[ROCm/rocminfo commit: 7de51c8248]
2024-06-14 15:25:19 -04:00
dependabot[bot] 8c70f3e1b3 Bump rocm-docs-core from 1.2.0 to 1.2.1 in /docs/sphinx
Bumps [rocm-docs-core](https://github.com/RadeonOpenCompute/rocm-docs-core) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/RadeonOpenCompute/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/v1.2.1/CHANGELOG.md)
- [Commits](https://github.com/RadeonOpenCompute/rocm-docs-core/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: rocm-docs-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Change-Id: I60c3d94a447b71ca0ce26a87b7f55b055b9aef9f


[ROCm/rocminfo commit: 311429fe7a]
2024-06-14 15:24:49 -04:00
amd-jmacaran 2c5c9e38db External CI: change supported branches
Change-Id: I3c3db1243d067720fd141eeb204d9b0b3e7a9fd6


[ROCm/rocminfo commit: 2bd32b0daf]
2024-06-05 01:51:43 -04:00
Roopa Malavally cc0ea84ede Update index.rst
[ROCm/rocminfo commit: 042930b0d1]
2024-06-03 16:19:50 +00:00
Roopa Malavally ccf7c8c19c Update index.rst
[ROCm/rocminfo commit: b3e9a9d29d]
2024-06-03 16:19:50 +00:00
Roopa Malavally a3e50a0759 Update _toc.yml.in
[ROCm/rocminfo commit: 983603cb34]
2024-06-03 16:19:50 +00:00
Roopa Malavally b5f213fe2c Update use-rocm-agent-enumerator.rst
[ROCm/rocminfo commit: fd7eff181c]
2024-06-03 16:19:50 +00:00
Roopa Malavally 445de5fb09 Update use-rocm-agent-enumerator.rst
[ROCm/rocminfo commit: b4a7201d25]
2024-06-03 16:19:50 +00:00
Roopa Malavally c9526f16b5 Create use-rocminfo.rst
Added a new page

[ROCm/rocminfo commit: bc36daead6]
2024-06-03 16:19:50 +00:00
dependabot[bot] 33fb8d1492 Bump rocm-docs-core from 1.1.3 to 1.2.0 in /docs/sphinx
Bumps [rocm-docs-core](https://github.com/RadeonOpenCompute/rocm-docs-core) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/RadeonOpenCompute/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/RadeonOpenCompute/rocm-docs-core/compare/v1.1.3...v1.2.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

[ROCm/rocminfo commit: 04f65ff97c]
2024-06-03 16:19:50 +00:00
Roopa Malavally 85d30b98cc Update index.rst
minor tweak

[ROCm/rocminfo commit: 9712407241]
2024-06-03 16:19:50 +00:00
Roopa Malavally 02e7c3fc88 Added a description
[ROCm/rocminfo commit: ac08c20724]
2024-06-03 16:19:50 +00:00
Roopa Malavally 16424fa296 Update build.rst
[ROCm/rocminfo commit: 9f30cda6c5]
2024-06-03 16:19:50 +00:00