Maisam Arif
4b2c3c9e50
Merge amd-dev into amd-master 20240813
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic744285e2203fad663a2f4a9f722c2bad1e623c8
[ROCm/amdsmi commit: 1a8462f364 ]
2024-08-13 15:35:06 -05:00
Maisam Arif
83dfd814c3
[SWDEV-478576] Adjusted Disclaimer
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I0dbdcd1c8ff200336e7ee0e8ca88a5eba1b41057
[ROCm/amdsmi commit: b49c5596b5 ]
2024-08-09 18:50:55 -04:00
Maisam Arif
0a28df87c8
Fixed Guest VM registering as Passthrough VM
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I0edc36e1a114166647dc10ebc646665b62c5d88e
[ROCm/amdsmi commit: 037f8689fe ]
2024-08-09 18:44:44 -04:00
Maisam Arif
1eaf218f2f
Removed metric --ecc & --ecc-blocks commands from VM
...
ecc is not supported on VM
Added static --ras because ras features are still detectable
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ied4132b863989dfd67897e00904f04d140fd2773
[ROCm/amdsmi commit: 210680b570 ]
2024-08-09 18:44:44 -04:00
Maisam Arif
b0c05aa04d
[SWDEV-478576] Added Disclaimer for CLI Tool
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I3d432ac3f8c9663365921591d183a5d1f35c4707
[ROCm/amdsmi commit: cec3e4c2a0 ]
2024-08-09 14:14:50 -04:00
Galantsev, Dmitrii
e3c9bb9613
Merge amd-dev into amd-master 20240808
...
Change-Id: I353b1f5219dd67d1d066fcc51d27677447726776
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: d0ff27181b ]
2024-08-08 16:42:06 -05:00
Maisam Arif
a3a8a0cfa8
Bump Version to 24.6.3.0
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I902da5e5e9e7441002420afaaef01ca9c6c9666f
[ROCm/amdsmi commit: 40112f5b17 ]
2024-08-08 01:30:51 -05:00
Ranjith Ramakrishnan
8ce27d8bc7
SWDEV-469004 - Append additonal path to system path
...
amd-smi is installed in /opt/rocm-ver/bin, but not as a soft link in wheel package
For amd-smi to work from bin directory, it need the extra path to find the dependent python scripts in /opt/rocm-ver/libexec/amd_smi
Change-Id: I4ff63a8f55949aaac51d85eae849ecc890f4c694
[ROCm/amdsmi commit: 7591eec971 ]
2024-08-08 02:15:04 -04:00
Ranjith Ramakrishnan
0cd04cdefb
SWDEV-476075 - 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: I5120274b90aeaf783b62414ac2aeba9e84029205
[ROCm/amdsmi commit: 92a4093256 ]
2024-08-08 02:04:37 -04:00
Maisam Arif
7130dc9f04
Fixed handling in GPU/CPU/CORE select functions
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I83d78a8d6cdcbd54e5c79330be577b3a06a00985
[ROCm/amdsmi commit: 574712386f ]
2024-08-05 18:27:30 -04:00
gabrpham
6975697b56
Fixed cli issue with empty cpu/core parameter
...
Change-Id: Id0fee74357a56baaec59ca5359eb00a65cfd6185
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: 0143041262 ]
2024-08-05 16:37:36 -05:00
gabrpham
0df83ddf94
Fixed 'amd-smi process -G'
...
Issue linked here: https://github.com/ROCm/amdsmi/issues/23
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
Change-Id: I73c2dede8634b21a5dfe0245a202e883fa856de2
[ROCm/amdsmi commit: fe1dc23ade ]
2024-08-02 16:42:08 -04:00
Galantsev, Dmitrii
c44abfcd08
Cleanup convert_SI_unit and misc linter warnings
...
Change-Id: I000ba548b79a7023aabad653125842064fa2e7cb
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 3784f37a3a ]
2024-08-02 10:29:06 -04:00
Zhang Ava
5a4d59efaa
Merge amd-dev into amd-master 20240731
...
Signed-off-by: Zhang Ava <niandong.zhang@amd.com >
Change-Id: Iad8ae44b4d92afc76ecb5afdd4ee57e9c981b6a8
[ROCm/amdsmi commit: ce0c45ebca ]
2024-08-02 13:07:51 +08:00
gabrpham
5b44997728
[SWDEV-439701] Additional GPU error handling
...
Change-Id: Ieb35e9712f2a78acef8961d865dba1d824969ef3
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: de8145387d ]
2024-07-30 16:19:10 -05:00
Zhang Ava
ce99e615e3
Merge amd-dev into amd-master 20240724
...
Signed-off-by: Zhang Ava <niandong.zhang@amd.com >
Change-Id: I0f646a946999682c2128c5322447a64ae40286b2
[ROCm/amdsmi commit: 813ed1bf92 ]
2024-07-26 13:42:16 +08:00
Galantsev, Dmitrii
4799537b20
Docs - Switch to amd-staging branch
...
Change-Id: I1a26542b3a7831c1f5efea6d6b4084f77b0a7cdb
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: f3426ced06 ]
2024-07-23 17:10:34 -05:00
Galantsev, Dmitrii
7ec65d7e57
Azure - Switch to amd-staging branch
...
Change-Id: I5cc2316427631fc17990506c4234163302febd3d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: ceac87ef5a ]
2024-07-23 17:04:37 -05:00
Maisam Arif
225595d643
Merge amd-dev into amd-master 20240719
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Id47efb0e83a5bfcf2fdc996ab2d0e4e20bc0ab9b
[ROCm/amdsmi commit: 23fc9e4ea5 ]
2024-07-19 18:14:33 -05:00
Galantsev, Dmitrii
815e607285
Fix missing c_str() introduced in c63ea0e
...
Change-Id: Ife778276aaebd109a413efb3db703de36b730613
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 47c8cd10cf ]
2024-07-19 19:12:17 -04:00
Charis Poag
e536831413
Fix TypeError: 'type' object is not subscriptable
...
Python 3.8 requires typing import to specify.
Python 3.10, no longer requires typing import.
Change-Id: I5d9844c91932bc3af53acc6dd56eb258f4d18d9b
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: ac40e963d3 ]
2024-07-19 16:33:41 -05:00
Maisam Arif
0bc127a846
Merge amd-dev into amd-master 20240719
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: If86d0b42820c0faf1a6ea4525aec6d11bf57a510
[ROCm/amdsmi commit: c9a113eecf ]
2024-07-19 12:47:11 -05:00
Maisam Arif
c63ea0e5e0
[SWDEV-474450] Removed DEVICE_MUTEX from gpu_reset
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I706fb47288738bfbde94b56fee66bbf807b3c0cb
[ROCm/amdsmi commit: 8bc8307c60 ]
2024-07-19 11:47:52 -04:00
Maisam Arif
49e4e8f234
Updated Changelog with Mutex Fix
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I0aee284ce7600efc66b0ad5392c11bb6a502a929
[ROCm/amdsmi commit: 3a9c93bfa6 ]
2024-07-19 11:18:09 -04:00
Galantsev, Dmitrii
12143a4ec8
[SWDEV-471523] - Replace lspci and lscpu with sysfs reads
...
Change-Id: Ia5a12c04d3064787a0f36a961e68533b79e17ed0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: baaa1cc4b6 ]
2024-07-19 00:29:36 -05:00
Galantsev, Dmitrii
8f04a0f91e
Merge branch 'dgalants/fix_mutex' into amd-dev
...
This change imports changes done to shared_mutex in rocm_smi_lib repo
Change-Id: I1412440b52a3419127b03003df3cc36fa71875d4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 0f6224cbe6 ]
2024-07-18 21:14:34 -05:00
Bill(Shuzhou) Liu
39f37c5d33
Remove thread safe only mutex warning message
...
In multiple GPUs environment, too many warning messages generated,
and then need to be removed.
Change-Id: I275de2397eb0e6b189e2e17e94335cb1e8f97815
[ROCm/amdsmi commit: 78ee3f5e5a ]
2024-07-18 20:43:57 -05:00
Bill(Shuzhou) Liu
a1aec9c971
Support thread only mutex
...
The environment variable RSMI_MUTEX_THREAD_ONLY=1 to enable thread only mutex.
The RSMI_INIT_FLAG_THRAD_ONLY_MUTEX can also be pass to rsmi_init()
to enable thread only mutex.
Change-Id: I2d9844039b774e386f03bb9bb130d8c342504ea6
[ROCm/amdsmi commit: dbba33d3f5 ]
2024-07-18 20:43:38 -05:00
Bill(Shuzhou) Liu
eb04dbc1c9
Unlock the mutex when process is dead
...
After the dead process is detected, pthread_mutex_consistent() will
be called. After that, the pthread_mutex_unlock() should also be
called to unlock it: "It is the responsibility of the application to
recover the state so it can be reused."
Change-Id: I45d3e2e68c3b06779f3acb1e908dbec0c6a39297
[ROCm/amdsmi commit: 06b9232a56 ]
2024-07-18 20:43:21 -05:00
Bill(Shuzhou) Liu
3fc94657d9
Remove const to avoid compile error
...
Fix the compile error
Change-Id: I422b606b2b969b418c2e77b47a3afad0cfc732a1
[ROCm/amdsmi commit: 33dab0c232 ]
2024-07-18 18:15:43 -04:00
Maisam Arif
df6b8386cf
Fix amd-smi event from reading NONE event type
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I7acf91eb682b3f0873ca34a98191eafd3925a344
[ROCm/amdsmi commit: 8f15c22606 ]
2024-07-18 17:54:08 -04:00
Maisam Arif
244587525a
Corrected passthrough platform logic
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ibbc4f5dd6300efd16f26efe17bc68eb8c22ed8be
[ROCm/amdsmi commit: b5f9e6a91d ]
2024-07-18 17:54:02 -04:00
Maisam Arif
ad3ba88ba5
[SWDEV-474474] - Changed Monitor PCIE_REPLAY count to use gpu_metrics
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I4351a23e8412875bb4b23b30747ac6d0bf3d3c56
[ROCm/amdsmi commit: 5b7be3bf99 ]
2024-07-18 17:53:49 -04:00
Maisam Arif
a7ea536524
[SWDEV-439701] Add missing parameter CLI error cases
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8a6623ccdd7b16be320ea0f6f48b7b6cb3511983
[ROCm/amdsmi commit: 0fc779b14f ]
2024-07-18 14:24:00 -04:00
Maisam Arif
0865293d27
[SWDEV-472641] Set file opening and writing encoding to utf-8
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic5cdca41b588341f7894de72dfe3d949378f9a61
[ROCm/amdsmi commit: c83bcb7ac9 ]
2024-07-12 09:46:44 -04:00
Zhang Ava
5385e1d325
Merge amd-dev into amd-master 20240711
...
Signed-off-by: Zhang Ava <niandong.zhang@amd.com >
Change-Id: I2d8f9c634d4f3d5427a59b230691722da99f6c01
[ROCm/amdsmi commit: b64603e552 ]
2024-07-11 19:38:42 +08:00
Maisam Arif
fa8d0f4641
Merge amd-dev into amd-master 20240710
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I4ffe6789a1fa70759d5161bcf77f44a76e321571
[ROCm/amdsmi commit: 4732919655 ]
2024-07-10 19:26:12 -05:00
Maisam Arif
5d50b79c93
Whitespace
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8335e617670a471a97bf54886b3221b6222e507f
[ROCm/amdsmi commit: 2388ff7e3c ]
2024-07-10 19:22:02 -05:00
Maisam Arif
3a7348925e
Bump Version to 24.6.2.0
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic389b6783514e88c43958ff5d3413a4c4a8a884f
[ROCm/amdsmi commit: 548938389d ]
2024-07-10 19:15:17 -05:00
Charis Poag
870be058a7
[SWDEV-455442/SWDEV-464645] Add back voltage curve testing for MI300
...
Validation requires running tests for MI300 systems, this update
removes the exclusion for these systems.
Change-Id: Idacf3e8bf0bd569f1cfa6192af47993eb5440ee6
[ROCm/amdsmi commit: 7194aaebf3 ]
2024-07-08 14:24:26 -05:00
Zhang Ava
1254f7ebee
Merge amd-dev into amd-master 20240702
...
Signed-off-by: Zhang Ava <niandong.zhang@amd.com >
Change-Id: I88fa6d3d7e83ffd54d99f1e3abf21cacd394994b
[ROCm/amdsmi commit: 4f160a5c6f ]
2024-07-04 14:41:35 +08:00
Maisam Arif
8462635270
Added dmon alias for 'amd-smi monitor'
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I4a787034bd7ab1a0d08d8cfdd038add5c35cdea4
[ROCm/amdsmi commit: 6e5c4b422a ]
2024-07-02 11:05:59 -04:00
Maisam Arif
8c87907db9
Updated error code naming to be inline with Host
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I6c66640742a25361ad6399763ee442598ffb0ac6
[ROCm/amdsmi commit: 27cd092c6d ]
2024-06-28 08:58:52 -05:00
jingyu1l
df806ffece
Merge amd-dev into amd-master 20240626
...
Signed-off-by: jingyu1l <Jingyu1.Li@amd.com >
Change-Id: I69cb4bdf59ab1d8ee2b46d53187c84376871b64a
[ROCm/amdsmi commit: af373220bf ]
2024-06-27 15:30:18 +08:00
Bill(Shuzhou) Liu
a29f44019d
Make the the devInfoTypesStrings.at(type) exception safe
...
Wrap it in a function to make it exception safe.
Change-Id: I29835993ae4fe2b7aa1a7027fab88c05ba89e6e3
[ROCm/amdsmi commit: 7a617e6ef2 ]
2024-06-26 08:33:44 -05:00
Maisam Arif
a449323329
SWDEV-457854 - Unified BM error codes
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I5b232de3b598bd3146eb0528f61c628da93278d9
[ROCm/amdsmi commit: a3758f82dc ]
2024-06-25 18:33:40 -05:00
Maisam Arif
4d4ccf4bde
SWDEV-446724 - Version command human readable output file format fix
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I94de5b03355b503ade307f2a3881acd07266d6c7
[ROCm/amdsmi commit: 943c74b6ef ]
2024-06-24 10:35:34 -05:00
Maisam Arif
6cefd4bc36
SWDEV-466302 - Changed blank processes to N/A & Updated Docs
...
Change-Id: I2d68430dda8036879f58b0f1dea5d2825b441179
[ROCm/amdsmi commit: 413c9ef6fe ]
2024-06-24 00:38:17 -04:00
Oliveira, Daniel
45652b301b
fix: [SWDEV-466302] [rocm/amd_smi_lib]
...
Fixes `amdsmi_get_gpu_process_list` now requires sudo to access pid and memory information
Code changes related to the following:
* amdsmi_get_gpu_process_list()
* CLI
Change-Id: I72b154c220276b354c350fcc067c9a7c32e6c173
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com >
[ROCm/amdsmi commit: a20db864b8 ]
2024-06-24 00:38:17 -04:00
muthusamy
7793021ac5
amd-smi [CPU]: Added Support to get number of threads per core
...
Change-Id: I7e6500f3f53068a3483b64a54d78ac9e1d9cd183
[ROCm/amdsmi commit: 057d688b55 ]
2024-06-21 17:22:55 -04:00