Justin Williams
af943ac05c
[SWDEV-521116] Added 'more_itertools" error workaround
...
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
2025-04-12 13:42:43 -05:00
Park, Peter
547ed49efb
[SWDEV-519170] Docker container config documentation ( #178 )
...
* add docker container guide
* add example
* update index, README, and _toc
2025-03-14 09:58:46 -05:00
Park, Peter
15c32f6116
[SWDEV-510820] Add missing goamdsmi documentation ( #147 )
...
* add API doc comments to goamdsmi.go
* update README and usage
* add sphinx directive to parse go doc
* fix walrus operator typos
* make docs more consistent
* add Go docs to index.md
---------
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com >
2025-03-07 12:37:54 -06:00
Williams, Justin
82f6794573
[SWDEV-514609] Added setuptools & wheel dependencies ( #143 )
...
[SWDEV-514609] Added setuptools & wheel dependencies
Change-Id: Iada4e85b37181a0fd67f625b49fda090f1447d13
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
2025-03-06 16:59:02 -06:00
Williams, Justin
d65b2677b6
[SWDEV-516619] Added libdrm-dev dependencies to README ( #130 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
2025-02-26 02:12:42 -06:00
Park, Peter
63af5cf611
Update copyright year to 2025
...
Signed-off-by: Peter Park <peter.park@amd.com >
2025-01-22 15:06:09 -06:00
Williams, Justin
71d8fa1c0f
Update README.md
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
2024-12-18 15:36:26 -06:00
Peter Park
e196f98dba
docs: Remove redundant/stale docs
...
bump rocm-docs-core to 1.8.2
rm unused files
rm stale docs
fix sphinx conf
reorg docs
SWDEV-482203 -- add note to usage guides
update readmes
Change-Id: I9e0111ac8fe2a691ac964b27436ba47747c27904
Signed-off-by: Peter Park <Peter.Park@amd.com >
2024-11-11 16:49:17 -04:00
gabrpham
4effd48fe2
[SWDEV-489060] Added python3-setuptools and wheel as prereqs in README.
...
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
Change-Id: I51cf938033d746bd6c255d518d7e0d3a87296be4
2024-11-07 14:42:04 -04:00
Maisam Arif
30f6a114e1
[SWDEV-488819] - Backward Compatibility Disclaimer
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8b00d2009e3d01da134ac21ddcb0994357d76a54
2024-10-01 14:57:23 -05:00
Eisuke Kawashima
1b6ec8df07
chore: unset executable permission
...
Change-Id: I06727774f3b1657a7955b172a40d0dfc9c76d6b9
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2024-09-16 17:34:39 -04:00
Galantsev, Dmitrii
fa4e488111
Remove python-clang dependency
...
python3-clang was only used to generate the python wrapper
We now use it only within the docker image for the generator
Change-Id: Id574f109b959d72f0734b0df4c26b3bbab3238fd
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2024-09-04 15:33:28 -05:00
Dalibor Stanisavljevic
7b2463abe0
SWDEV-457337 - Fix header alignment
...
Change-Id: I9f25f6c4f0d00c76b66d13162f30be11368f5b59
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2024-05-23 04:41:57 -04:00
Deepak Mewar
a3407090c3
Updated README with esmi sample code
...
Change-Id: I50de7926fd76757e5810e8c531bcb6f5770ff454
2024-03-21 15:51:51 -04:00
Charis Poag
583e5e99bf
Update ROCm 6.0/6.1 CHANGELOG.md & README.md
...
* Updates:
- [CHANGELOG.md] Add 6.1 and update 6.0 changes
- [README.md] Update README.md with ROCm install instructions
Change-Id: Ic701ebcb00e5d0af54d8f97707c1cec71a0aac4c
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
2024-03-19 19:54:01 -05:00
Lisa
ec56aba6c1
fix links
...
Change-Id: I23520f7abf5e67453a928a07b46f126bcd5c1469
Reviewed-By: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2024-03-07 06:05:53 -06:00
Deepak Mewar
9375b6f820
amdsmi README updated for esmi library usage
...
Change-Id: I1406f0b0434e735b7d1cc1d931e7a2c92dfba728
2024-01-24 14:30:26 -05:00
Maisam Arif
6292ac513c
SWDEV-440462: Fixed metric functionality to Linux Guest
...
Change-Id: Ia69d01251d1e9bb3717bda3a7d0f752c739393a6
Signed-off-by: Maisam Arif <maisarif@amd.com >
2024-01-21 02:46:15 -06:00
Maisam Arif
e0a1a6ca96
Fixed python3 lib install for DEB & RPM
...
Upgraded python3-yaml into a dependency; needed for cli
Added checks before uninstalling amdsmi system
Made argcomplete activation only for installing user
Corrected returns outside of function to exit
Removed returns if python3 library install fails
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I299dc01e07029b255a3469fd63fdc8ffec943828
2023-11-09 00:17:44 -06:00
Galantsev, Dmitrii
874d8edb3d
Remove absolute link to libamd_smi.so
...
Also modify README to include:
export PATH="$PATH:/opt/rocm/bin"
Change-Id: Ib4513d61fd3e6b23cc789491c11d83e6a6de947a
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-11-02 14:31:58 -05:00
Maisam Arif
c2e12feb6a
SWDEV-429037 - Automatically install amdsmi python lib with package
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I9c8c1335982ebd61a29da6f66c635f0a97d95f6e
2023-11-02 15:15:27 -04:00
Deepak Mewar
3e3a233e49
Updated README for esmi lib support for amdsmi
...
Change-Id: Icff9120b4323cad4ab9f9578d509b0596f808fcf
2023-11-02 01:59:15 -04:00
Galantsev, Dmitrii
2b603be71b
README - Add argcomplete instructions
...
Change-Id: I76a35e38735e71cd30ba62a177bed53300b63515
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-10-24 12:48:37 -04:00
Maisam Arif
5018a57b62
Updated READMEs & Versioning for 6.0 Release
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Idadece3c1022ecba4291b96ddbe23112e27394de
2023-10-16 16:57:49 -05:00
Galantsev, Dmitrii
c94036de21
Add wrapper generator
...
Change-Id: I34a191acfefbef2e40d0242eb121ba9af55cb9de
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-10-12 22:12:56 -04:00
Maisam Arif
25b055014d
Updated tool & lib versions & README.md
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ic41a36bcfa988ce9c8304157593012752857e919
2023-09-25 02:02:22 -05:00
Galantsev, Dmitrii
fe0b6e5f4c
README - Add documentation links
...
Change-Id: I048c159394286545d518176d2751a43934b7fe9d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-09-13 19:38:38 -05:00
Maisam Arif
a13d5be933
Updated READMEs
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Idf34bc431184414a17c3cb50c06543151ce3cb56
2023-08-01 14:28:33 -04:00
Maisam Arif
1bbfb0af56
Merge "[AMDSMI] [Linux] [BM] [Guest] Improve Python readme" into amd-dev
2023-07-19 16:07:29 -04:00
Marko Oblak
8f7e795b02
[AMDSMI] [Linux] [BM] [Guest] Improve Python readme
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: Ic8c1ea2789407621d2155763a33cc7059cfe6729
2023-07-19 13:46:00 +02:00
Sirb, Corina
ebe0cecd9e
Update Copyright Date
...
Signed-off-by: Sirb, Corina <corina.sirb@amd.com >
Change-Id: I4b5dc49a5d756012e533ba7196b246836cf980f6
2023-07-18 15:05:14 -04:00
Sam Wu
7104b6fe31
Sphinx Documentation Setup
...
Added README links to Python library and CLI tool
Get correct version number from header file
Updated base README with sphinx documentation steps
Change-Id: I60eb3d37d77dab4ff7c8334f94b9c1804edb524b
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2023-06-07 09:47:37 -05:00
Dalibor Stanisavljevic
8dbc1d7d57
Align header changes with other platforms
...
Change-Id: I366e57310e0504855692626e2b2014bea235ed6b
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2023-06-02 12:28:09 +02:00
Maisam Arif
7477562374
Updated AMD-SMI README install instructions
...
Change-Id: I9c914e4fb5fbe22e1ff449408beafc250f5b4bf7
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2023-05-29 16:38:26 -05:00
Maisam Arif
72638192f7
Updated AMD-SMI README.md with CLI install instructions
...
Updated amd-smi-lib README with CLI install instructions
Updated version of the python interface and the CLI tool
to 0.1.0 due to the ESMI header changes
Change-Id: If175cdcb9ce0352b6e7e7ce4cc0940a80c11501b
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2023-05-24 10:07:19 -05:00
Deepak Mewar
d3289258b4
Renamed API amdsmi_dev_get_temp_metric to
...
amdsmi_get_temp_metric
grep -rli 'amdsmi_dev_get_temp_metric' * | xargs -i@ sed -i
's/amdsmi_dev_get_temp_metric/amdsmi_get_temp_metric/g' @
Change-Id: I4a342f9d1c5183afdeac67506fef73e895911283
2023-05-11 10:44:16 -04:00
Deepak Mewar
928b7e2a4d
Renamed API amdsmi_get_board_info to
...
amdsmi_get_gpu_board_info
grep -rli 'amdsmi_get_board_info' * | xargs -i@ sed -i
's/amdsmi_get_board_info/amdsmi_get_gpu_board_info/g' @
Change-Id: Ia3fb361aaf5832813e7ce41bfb88fbbf1432020b
2023-05-11 10:36:10 -04:00
Suma Hegde
dd00a16124
Change device_type to processor_type
...
also rename amdsmi_get_device_type to amdsmi_get_processor_type
grep -rli 'device_type' * | xargs -i@ sed -i
's/device_type/processor_type/g' @
Change-Id: Ic6a73c1a170757d5ab5d10ad20b4fc2f0b280e78
2023-05-11 10:28:31 -04:00
Suma Hegde
3f9e4d95d4
Change device_handle to processor_handle
...
grep -rli 'device_handle' * | xargs -i@ sed -i
's/device_handle/processor_handle/g' @
Change-Id: Ifc8b7fa3b5488ce1fa8d8cf9eb3981a09450de11
2023-05-11 10:11:24 -04:00
Suma Hegde
3963036a05
Change amdsmi_device_handle to amdsmi_processor_handle
...
grep -rli 'amdsmi_device_handle' * | xargs -i@ sed -i
's/amdsmi_device_handle/amdsmi_processor_handle/g' @
Change-Id: Ie25c51933dcc31e5b34c8070d0d5ba0e8cd05cc1
2023-05-11 10:09:11 -04:00
Bill(Shuzhou) Liu
b39a56fc52
Crash if no hwmon sysfs
...
Return NOT_SUPPORTED if no hwmon sysfs.
Change-Id: I8f4bea0d74619150aee7dfc21fe62d24018e2994
2023-04-19 05:46:02 -04:00
Galantsev, Dmitrii
adceb8033d
CLI: Make compatible with python3.6
...
Wrapper generation is still only compatible with python3.7 and above
Change-Id: I33cdc3925cd3fab80c9ce5f4540e1a981a5cc1f0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-03-21 17:09:55 -05:00
Galantsev, Dmitrii
87b9faf926
CMake: Replace .whl with libexec install
...
Generating .whl has proved to be difficult with AMD CI.
Switch to directly installing python projects instead.
Change-Id: I8a4c2fe22fc872865bba7da3a3386513efd5269a
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-03-20 21:24:39 -05:00
Maisam Arif
235c8db949
AMDSMI CLI Initial Packaging
...
- Added CMake packaging to the amdsmi_cli folder
- Updated Headings in the README.md to follow markdown standard
- Updated Compatibility to be based on the built package name in bin
- Added misc error handling and import corrections
- Updated py-interface amdsmi_exception imports to work by relative path
- Cleaned up py-interface cmake & generator code for finding libamd_smi.so
- Changed line endings in tools/generator.py file to unix
Change-Id: I91858ff3dd0cb57ed9b8cd61a0ada27b6af9c51c
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2023-03-20 10:50:21 -05:00
Maisam Arif
aa70b77ec5
AMDSMI_CLI version 0.0.1
...
Change-Id: I0b02ddf1cc22753635062475cccadcc235e3a603
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2023-03-20 08:51:35 -05:00
Galantsev, Dmitrii
74479187d0
Improve python wrapper generation
...
- Add "BUILD_PACKAGE" option that is OFF by default (CI issues)
- Optionally package wrapper if python3.7 or above is present (hack for CI)
- Optionally build wrapper if clang is present (hack for CI)
- Improve dependency resolution for wrapper
- Use python venv
- Use pyproject.toml instead of setup.py
- Use CMake install path to search for libamd_smi.so
- Move python-specific CMakeLists into py-interface
- Search for libamd_smi.so more aggressively
Change-Id: Ie7dad676b0d4a5f58ad2b887db7fecf5b1297e3b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-03-16 09:13:56 -05:00
Marko Oblak
db9d8793be
SWDEV-381227 - [AMDSMI][Linux][BM] SMILIB returns wrong temperature value
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: Idc9929d1cfd882bb33abf040378587f68d22b31a
2023-02-21 17:21:15 +01:00
Dalibor Stanisavljevic
bf79fe4323
SWDEV-378294 - Fixed failing tests
...
Change-Id: Ie0f9dedd6901e05b1a5ca7846624c127d92ed67f
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2023-01-18 10:28:32 -05:00
Bill(Shuzhou) Liu
79bd9c1d5f
change sensor_type in amdsmi_dev_get_temp_metric() to enum
...
The sensor_type in amdsmi_dev_get_temp_metric() will be changed to
amdsmi_temperature_type_t
Change-Id: I72a7f271b0a55a025acc2ca523062a3d51cc036d
2023-01-04 13:01:04 -06:00
Bill(Shuzhou) Liu
221d6fdc5c
Make amdsmi function name consistent
...
Some of the amdsmi function have the verb (set or get) at the
end of the function. Move it to the middle to be consistent with
other APIs.
Change-Id: I8053d16f46af951c25aaaf8febf2896a33633fa1
2022-12-16 10:20:49 -06:00