Deepak Mewar
0bd6f365bc
Renamed API amdsmi_get_asic_info to
...
amdsmi_get_gpu_asic_info
grep -rli 'amdsmi_get_asic_info' * | xargs -i@ sed -i
's/amdsmi_get_asic_info/amdsmi_get_gpu_asic_info/g' @
Change-Id: I4586c7f8876eba7b8af33b5ea29afa8bacb85a9a
[ROCm/amdsmi commit: 1f9074916f ]
2023-05-11 10:35:09 -04:00
Deepak Mewar
404b8229ac
Renamed API amdsmi_get_driver_version to
...
amdsmi_get_gpu_driver_version
grep -rli 'amdsmi_get_driver_version' * | xargs -i@ sed -i
's/amdsmi_get_driver_version/amdsmi_get_gpu_driver_version/g' @
Change-Id: Ic1dfb17f7595210ec1fcbd5a936fd259e57e9638
[ROCm/amdsmi commit: 8c8f41f893 ]
2023-05-11 10:34:42 -04:00
Deepak Mewar
3ef24c6323
Renamed API amdsmi_dev_get_drm_render_minor to
...
amdsmi_get_gpu_drm_render_minor
grep -rli 'amdsmi_dev_get_drm_render_minor' * | xargs -i@ sed -i
's/amdsmi_dev_get_drm_render_minor/amdsmi_get_gpu_drm_render_minor/g' @
Change-Id: Icf6a1ba28ee3ff7f1fa66bad5d600725aad0bfca
[ROCm/amdsmi commit: ac1b857f24 ]
2023-05-11 10:34:01 -04:00
Deepak Mewar
acd7475ad0
Renamed API amdsmi_dev_get_subsystem_name to
...
amdsmi_get_gpu_subsystem_name
grep -rli 'amdsmi_dev_get_subsystem_name' * | xargs -i@ sed -i
's/amdsmi_dev_get_subsystem_name/amdsmi_get_gpu_subsystem_name/g' @
Change-Id: Ib6f2b03f824e1ee910cfbbd0bab09ad859ec252b
[ROCm/amdsmi commit: 82dbd07b2c ]
2023-05-11 10:33:20 -04:00
Deepak Mewar
cccbca0e65
Renamed API amdsmi_dev_get_subsystem_id to
...
amdsmi_get_gpu_subsystem_id
grep -rli 'amdsmi_dev_get_subsystem_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_subsystem_id/amdsmi_get_gpu_subsystem_id/g' @
Change-Id: I64616ac4c001f7761b8d83120d05d21c5c8e763f
[ROCm/amdsmi commit: 14f1367d6b ]
2023-05-11 10:32:32 -04:00
Deepak Mewar
06cedb0eed
Renamed API amdsmi_dev_get_vram_vendor to
...
amdsmi_get_gpu_vram_vendor
grep -rli 'amdsmi_dev_get_vram_vendor' * | xargs -i@ sed -i
's/amdsmi_dev_get_vram_vendor/amdsmi_get_gpu_vram_vendor/g' @
Change-Id: I3c11643a778f147027d0d3121b9782931439c752
[ROCm/amdsmi commit: f69a6ea64e ]
2023-05-11 10:32:00 -04:00
Deepak Mewar
60a4679846
Renamed API amdsmi_dev_get_vendor_name to
...
amdsmi_get_gpu_vendor_name
grep -rli 'amdsmi_dev_get_vendor_name' * | xargs -i@ sed -i
's/amdsmi_dev_get_vendor_name/amdsmi_get_gpu_vendor_name/g' @
Change-Id: Ib31c1387150d0dd268d1bd54cfb43786c7ec41c1
[ROCm/amdsmi commit: 21da55b9df ]
2023-05-11 10:31:41 -04:00
Deepak Mewar
365abf6b0e
Renamed API amdsmi_dev_get_id to amdsmi_get_gpu_id
...
grep -rli 'amdsmi_dev_get_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_id/amdsmi_get_gpu_id/g' @
Change-Id: I78faeff9a94250454bcecfaa50b5c7cc7e04cb98
[ROCm/amdsmi commit: 20222f771e ]
2023-05-11 10:30:53 -04:00
Deepak Mewar
cb1d3ef3ce
Renamed API amdsmi_get_device_uuid to
...
amdsmi_get_gpu_device_uuid
grep -rli 'amdsmi_get_device_uuid' * | xargs -i@ sed -i
's/amdsmi_get_device_uuid/amdsmi_get_gpu_device_uuid/g' @
Change-Id: I40bf740235a1a98d7d12964378b0b45208987c9e
[ROCm/amdsmi commit: 5ed24711c7 ]
2023-05-11 10:30:32 -04:00
Deepak Mewar
fc8df2885e
Renamed API amdsmi_get_device_bdf to amdsmi_get_gpu_device_bdf
...
grep -rli 'amdsmi_get_device_bdf' * | xargs -i@ sed -i
's/amdsmi_get_device_bdf/amdsmi_get_gpu_device_bdf/g' @
Change-Id: I3db605f8bdb0a83b1f0f7f300a663c47563ba651
[ROCm/amdsmi commit: 3fec3b4b4a ]
2023-05-11 10:30:05 -04:00
Suma Hegde
746e0ffb5c
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
[ROCm/amdsmi commit: dd00a16124 ]
2023-05-11 10:28:31 -04:00
Suma Hegde
94331a7a90
Change device_handle to processor_handle
...
grep -rli 'device_handle' * | xargs -i@ sed -i
's/device_handle/processor_handle/g' @
Change-Id: Ifc8b7fa3b5488ce1fa8d8cf9eb3981a09450de11
[ROCm/amdsmi commit: 3f9e4d95d4 ]
2023-05-11 10:11:24 -04:00
Maisam Arif
b8f463cda5
AMDSMI_CLI version 0.0.1
...
Change-Id: I0b02ddf1cc22753635062475cccadcc235e3a603
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: aa70b77ec5 ]
2023-03-20 08:51:35 -05:00
Dalibor Stanisavljevic
f4828ee580
Revert "Adjusted folder naming and moved amdsmi_cli into amdsmi project folder"
...
This reverts commit 1246feb70d
because build failed
Change-Id: Id9efa22f3e1167e1b1bb235b449aef60256c0e24
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: ed8f865341 ]
2023-01-19 15:40:28 +01:00
Maisam Arif
1246feb70d
Adjusted folder naming and moved amdsmi_cli into amdsmi project folder
...
Change-Id: I4b7c42161fc92450f496483e5b49c7def6810437
[ROCm/amdsmi commit: 3eadf3a216 ]
2023-01-18 08:47:38 -06:00
Bill(Shuzhou) Liu
ca06111d12
Remove duplicate temperature function
...
The amdsmi_dev_get_temp_metric() will cover both function:
amdsmi_get_temperature_measure() using AMDSMI_TEMP_CURRENT
and
amdsmi_get_temperature_limit() using AMDSMI_TEMP_CRITICAL
Remove those two function.
It also merge the amdsmi_get_power_limit() into
amdsmi_get_power_measure()
Change-Id: I40d4afeb2ec0ac7b64832729f36adfaae120c990
[ROCm/amdsmi commit: ec48312c61 ]
2023-01-11 08:13:37 -06:00
Dalibor Stanisavljevic
3a7a71058f
SWDEV-375181 - Fixed amdsmi_get_fw_info python output
...
Change-Id: I4bf4bf49cd921d52849e1bb140e464e2756b07c5
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: e217fff82c ]
2023-01-11 11:17:49 +01:00
Dalibor Stanisavljevic
3f6ba87ef1
SWDEV-375271 - Renamed AmdSmiClockType to AmdSmiClkType
...
Change-Id: I6af34f7c4701584357ae5ec1315fbc425f2a9f82
[ROCm/amdsmi commit: 9d345c5797 ]
2022-12-28 12:55:15 +01:00
Bill(Shuzhou) Liu
594f222ad5
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
[ROCm/amdsmi commit: 221d6fdc5c ]
2022-12-16 10:20:49 -06:00
Dalibor Stanisavljevic
6d5261ac5d
SWDEV-361376 - Added socket releated functions
...
Change-Id: Ib5984e9d85cbba95dfc153c0ed23dae04f5f9a46
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 62154829b0 ]
2022-11-22 10:23:04 -05:00
Dalibor Stanisavljevic
dd0eab575b
SWDEV-361376 - Updated python API
...
Added pcie, power and memory API
Change-Id: I0b3bd1c110099805c700f53974eceb6acd850930
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 21d6e0f990 ]
2022-11-14 12:55:30 +01:00
Dalibor Stanisavljevic
9164042117
SWDEV-361376 - Updated python API
...
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
Change-Id: I8d81154b27111b849dbb645e024ebf322299f851
[ROCm/amdsmi commit: 50133d44c2 ]
2022-11-10 16:57:49 +01:00
Dalibor Stanisavljevic
3c4a0e6529
SWDEV-361376 - Added additional API calls to the python interface
...
- Added APIs for "Error Query"
- Added APIs for "System Information Query"
Change-Id: Idd0e8595c37b23025545f54428b824bf41544bb9
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: cec429dbeb ]
2022-11-10 16:57:49 +01:00
Dalibor Stanisavljevic
018437360d
SWDEV-361376 - Added additional API calls to the python interface
...
- Added performance counter API calls
- Added part of unsupported functions in virtual env API calls
- README for both additions
Change-Id: I6fdf1fe83370975011fe4ec11c0b0ca2bab0a1b8
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: f9f792230e ]
2022-11-10 16:57:49 +01:00
Dalibor Stanisavljevic
e09dc2fd47
SWDEV-361376 - Added API calls to the python interface
...
- Added Physical State Query API calls
- Added Clock, Power and Performance Query API calls
- README for both additions
Change-Id: Icf412364a13c9e51b9630f19f29a7cdfbe46f7fe
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 62a69fb802 ]
2022-11-10 16:57:49 +01:00
Dalibor Stanisavljevic
a16b55507d
SWDEV-361376 - Add README for python tool
...
- Add up to date README file for python tool
Change-Id: I7a02f79469e990870398b3741b033ea447998fdd
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 9cad9e5216 ]
2022-11-10 16:57:49 +01:00
Dalibor Stanisavljevic
b155d429c9
SWDEV-361376 - Add events to python interface
...
- Implement context manager event class for easier usage instead of having 4 different
APIs.
- Add support for with statement for easier cleanup.
Change-Id: I396947a93d3f04efc068e17804eab12eefa97cf0
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 23160fa8e0 ]
2022-11-10 16:57:49 +01:00
Dalibor Stanisavljevic
35196b25bd
SWDEV-361376 - Added additional API calls to the python interface
...
- Added APIs for "Supported Function Checks"
- Added first half of the APIs for "Unsupported Functions In Virtual Environment"
Change-Id: Ia83303e6b7ae65aada608bd9ca5f56fd33e4ef34
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: a6efdd32ed ]
2022-11-10 16:57:49 +01:00
Dejan Andjelkovic
14d9160565
SWDEV-361376 - Add python wrapper
...
- Add generator for python wrapper
- Add interface, exception and init files
- Add CMake custom targets
Change-Id: I63c1d94fbb587387c22f559a3db79987eb214a2e
Signed-off-by: Dejan Andjelkovic <Dejan.Andjelkovic@amd.com >
[ROCm/amdsmi commit: 6064f160a3 ]
2022-10-20 09:24:53 -05:00