Charis Poag
23a0cb827f
GPU Usage/activity update
...
CLI:
Every usage field is notated by "activity"
gfx_usage -> gfx_activity
umc_usage -> umc_activity
vcn_activities -> vcn_activity
jpeg_activities[AID#] -> jpeg_activity
Wrapper: fixed metric output, misalignment
with generator
update_wrapper.sh:
DOCKER_BUILDKIT to 0 (if unset)
API:
amdsmi_get_gpu_metrics_info:
1.3: Removed commenting out avg socket power
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
Change-Id: Id3fcc20aef420c7b7a90ba22fa3bc643b2716333
[ROCm/amdsmi commit: 4575990ae7 ]
2024-01-15 23:34:08 -06:00
Naveen Krishna Chatradhi
37f1d47b0e
amdsmi: py-interface: Add python interface for esmi api
...
Change-Id: I4a3ab1168a7d1bf011ecc9c508e111c281503520
[ROCm/amdsmi commit: 94d3c563a3 ]
2023-12-18 06:31:35 -05:00
Charis Poag
4f502e5dab
Add vcn and jpeg activity
...
Changes:
- Add new engine field vcn_activity (from 1.4/1.5
gpu_metrics
- Updated log output to enhance view of gpu_metric
data as json pretty print
- Added new fields provided in 1.5
- Added unit overview in python API, CLI is WIP
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
Change-Id: I7d9f29e7ecc35dcd0697814c222cdd02b0d5518e
[ROCm/amdsmi commit: 8f3861e1d9 ]
2023-12-15 22:18:46 -05:00
Maisam Arif
a8138bfd5e
Change xgmi_physical_id to oam_id
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I35fb36ec0e9f72a7135d8bb9070dbdc0e956b93a
[ROCm/amdsmi commit: b54086a037 ]
2023-11-22 12:16:38 -06:00
Maisam Arif
ff96f50145
Refactor gpu_metrics usage in libraries
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I763638d4b546bf49b234e823df81028c357e8f49
[ROCm/amdsmi commit: d790ebc62b ]
2023-11-22 03:32:15 -06:00
Deepak Mewar
dbc139a8b4
another set of esmi python wrappers updated to amdsmi python library
...
Change-Id: I33557b9021ecfdab76daaf65ad63f624115aa322
[ROCm/amdsmi commit: 14c50c9b4e ]
2023-11-10 15:50:42 -05:00
Deepak Mewar
1601835a76
Updated another set of esmi python wrappers to amdsmi python library
...
Change-Id: Ie8b1aacfd0e7923cf608b0f03f48874b16e5aa0d
[ROCm/amdsmi commit: d4f053b527 ]
2023-11-07 07:28:48 -05:00
Deepak Mewar
5845c75e51
Updated esmi python wrappers to amdsmi python library
...
Change-Id: Icf2576926d3649929d2aa580b476a013204daf95
[ROCm/amdsmi commit: 6d46e20598 ]
2023-11-03 04:58:19 -04:00
Galantsev, Dmitrii
1128c1f246
DOCS - Fix 'failed to reach any of the inventories'
...
Change-Id: I7edd1fad17bd0f3e0946a6712410cf6549afc729
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: fc02ebc5f2 ]
2023-11-03 03:59:48 -04:00
Maisam Arif
517ea90c12
SWDEV-426130 - Fixed Decimal Firmwares & Readme
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I850105561be91a2c2581106371af9fab1fd8fa98
[ROCm/amdsmi commit: 312732aa8a ]
2023-11-02 15:34:06 -04:00
Maisam Arif
0a90c7cfc8
SWDEV-429037 - Automatically install amdsmi python lib with package
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I9c8c1335982ebd61a29da6f66c635f0a97d95f6e
[ROCm/amdsmi commit: c2e12feb6a ]
2023-11-02 15:15:27 -04:00
Maisam Arif
cf0098c16f
SWDEV-417117 - Added Cache Flags
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I78836ba5f87c2859b82f17a7564df6f99ac77ad7
[ROCm/amdsmi commit: aeef485034 ]
2023-11-02 05:38:44 -05:00
Deepak Mewar
37f1dc3441
Updated README for esmi python wrappers
...
Change-Id: I95d345c12040a2163131bd48c5a687ccf734edd0
[ROCm/amdsmi commit: 78b2db036b ]
2023-10-30 20:59:21 -04:00
Maisam Arif
b14d1ca543
SWDEV-410051 - Updates to board_info struct & CLI
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I8735d8965140ee5da0c35106b388af1dca87ec71
[ROCm/amdsmi commit: 2b4637ff9f ]
2023-10-27 16:52:56 -05:00
Maisam Arif
c1fb7e3dc3
Fixed firmware version from int to hex
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ie09c5b14f108f1eb5c3fd60fe37fb731173a9478
[ROCm/amdsmi commit: 6d59e9b71d ]
2023-10-27 17:48:27 -04:00
Maisam Arif
e77abc0a1d
Added memory & compute partitions to amd-smi lib
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: If3acea6ad281298f1f05785b2e6d8e70fae8d89b
[ROCm/amdsmi commit: 1f8d9cb9ef ]
2023-10-13 21:47:59 -04:00
Maisam Arif
1dd2942136
Added static --cache to cli tool
...
Change-Id: I494d29aba7915a0b8815036977b2636a2da5264e
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 66eb3de5e4 ]
2023-10-12 10:13:56 -04:00
Maisam Arif
d7399f690b
Placeholders for new ras values
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I66cea253b19a5029172af0a3f4dd2f993c13b309
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: c6e54e09e7 ]
2023-10-11 19:39:38 -04:00
Maisam Arif
6a15f48028
Added xgmi physical id to static --asic
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I9e9f5929da635d22495aa394f2a9e5e6ce441706
[ROCm/amdsmi commit: 262b5b0254 ]
2023-10-11 13:28:27 -05:00
Maisam Arif
401d3f229c
Added driver_name to amdsmi_cli tool
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I8f3d52e0b23298443b2b16afec418cbbbc5f77e0
[ROCm/amdsmi commit: 572bf563d1 ]
2023-10-04 08:54:19 -04:00
Maisam Arif
821994b869
Fixed log handling and exceptions
...
Updated exceptions
Added driver load exception
Fixed logging override by removing previous log handlers
Updated debug output to use gpu_id vs C-pointer
Removed AmdSmiRetcode class in favor of using the wrapper
directly
Added traceback limits for clean errors (Not in debug)
Change-Id: Ia02bb842b8f60d9ab4b68b7f8b1afda30b1c021c
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 9281bfbbfa ]
2023-09-25 01:49:35 -05:00
Maisam Arif
260fd7faae
Removed compatibility modes
...
Removed gpuv-smi and rocm-smi compatibility options
Updated py-interface README
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I1cad3e65e0928e7041727c6d5e7e7bdc39d667d0
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 5c52f82328 ]
2023-09-24 21:17:43 -04:00
Maisam Arif
5a91e9805a
Added vendor_name to static --asic
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I3d52a8769e1f721c20efdf78ffb9e6813de59e10
[ROCm/amdsmi commit: 79ccf1670b ]
2023-09-23 23:51:24 -04:00
Galantsev, Dmitrii
49bd046e6e
actvity -> activity
...
Change-Id: Ie31d9faca2181cb2d47f7f4764b64ed8cc7f8007
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 2589d677b0 ]
2023-09-22 11:45:21 -05:00
Maisam Arif
0d4014c01e
SWDEV-417124 - Implement Power Management
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ib0d37038e49cec61d5415076a46a5666d95dcea2
[ROCm/amdsmi commit: e4fac177c1 ]
2023-09-21 14:23:26 -05:00
Maisam Arif
35d20bcb80
Spell check bandwith to bandwidth
...
Change-Id: Icfb3b2398fe0590dbab6e531c8ec1cdceebe658d
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 42b030def3 ]
2023-09-14 18:43:49 -04:00
Maisam Arif
e2a1fed08c
Added Gen type to pcie info
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Icaa050a6f53fad608ed0353b2a0cbea33dee1dd2
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 82ac307f9b ]
2023-08-02 23:42:48 -05:00
Bill(Shuzhou) Liu
4d4f8a4f8c
Change API to get the driver date
...
Support the driver date from libdrm.
Change-Id: I88e694732b538220e11fdb4029712bb5a6f44380
[ROCm/amdsmi commit: 55bf9cbe13 ]
2023-07-21 08:28:06 -05:00
Marko Oblak
a255ac2a38
SWDEV-392359 - [AMDSMI] [Linux] [Guest] Documented unsupported APIs
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: I0cff925082e6bc637e4b5073df64445380b3a3f5
[ROCm/amdsmi commit: 01474ff14e ]
2023-06-21 13:18:32 +02:00
Maisam Arif
a3ec450571
Cleaned up APIs
...
Change-Id: I93487e01d7126bdfa77439b571df927a6af3bb70
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 9cebc93cee ]
2023-06-07 10:48:37 -04:00
Sam Wu
602130e212
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 >
[ROCm/amdsmi commit: 7104b6fe31 ]
2023-06-07 09:47:37 -05:00
Dalibor Stanisavljevic
7fcee0d34b
Align header changes with other platforms
...
Change-Id: I366e57310e0504855692626e2b2014bea235ed6b
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 8dbc1d7d57 ]
2023-06-02 12:28:09 +02:00
Dalibor Stanisavljevic
daba7ffdb2
Updated python api to match header changes
...
Change-Id: I02f6dde54f50d1d66f8c4a8777f849bf63b50c85
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 1185397d90 ]
2023-06-01 09:40:24 -04:00
Dalibor Stanisavljevic
d95be94e51
SWDEV-384793 - Clean up API
...
Change-Id: I441b315d32df59a454e06d521e5ca8b2c229451a
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 1bc1d431d8 ]
2023-05-19 16:40:26 +02:00
Dalibor Stanisavljevic
c76586e482
SWDEV-384797 - Renamed measure to info
...
Change-Id: I2397ed189fe0171ed29bd6440f8fa0bb210b95a5
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: ca7f965018 ]
2023-05-17 05:10:58 -04:00
Suma Hegde
90607682ef
Renamed APIs
...
amdsmi_dev_open_supported_func_iterator -> amdsmi_open_supported_func_iterator
amdsmi_dev_open_supported_variant_iterator -> amdsmi_open_supported_variant_iterator
amdsmi_dev_close_supported_func_iterator -> amdsmi_close_supported_func_iterator
Change-Id: Ie9b2efa5aee7095c3c835b91de1951df6b065510
[ROCm/amdsmi commit: edd8f1ae23 ]
2023-05-11 11:01:37 -04:00
Suma Hegde
19262e1fd8
Renamed API amdsmi_dev_reset_xgmi_error
...
amdsmi_dev_reset_xgmi_error -> amdsmi_reset_gpu_xgmi_error
grep -rli 'amdsmi_dev_reset_xgmi_error' * | xargs -i@ sed -i
's/amdsmi_dev_reset_xgmi_error/amdsmi_reset_gpu_xgmi_error/g' @
Change-Id: Ic7e4c4b345fdf6187aed42d53fb7ae8536c2edea
[ROCm/amdsmi commit: 6256bf6f1a ]
2023-05-11 11:01:25 -04:00
Suma Hegde
0be5a5fb82
Renamed APIs
...
amdsmi_dev_get_gpu_ecc_status -> amdsmi_get_gpu_ecc_status
amdsmi_dev_get_gpu_ecc_enabled -> amdsmi_get_gpu_ecc_enabled
amdsmi_dev_get_gpu_ecc_count -> amdsmi_get_gpu_ecc_count
Change-Id: I84e6489f82bae115e1a13c9e4fce8029888ca379
[ROCm/amdsmi commit: d9ba131f73 ]
2023-05-11 11:00:59 -04:00
Deepak Mewar
e0d2d9b909
Renamed APIs
...
1) amdsmi_dev_set_overdrive_level to amdsmi_set_gpu_overdrive_level
2) amdsmi_dev_set_overdrive_level_v1 to amdsmi_set_gpu_overdrive_level_v1
grep -rli 'amdsmi_dev_set_overdrive_level' * | xargs -i@ sed -i
's/amdsmi_dev_set_overdrive_level/amdsmi_set_gpu_overdrive_level/g' @
Change-Id: Id6934e5b0962c9262cca041bdfdf02c60f69573b
[ROCm/amdsmi commit: e687a72235 ]
2023-05-11 11:00:45 -04:00
Deepak Mewar
9d23ac40c6
Renamed API amdsmi_dev_get_od_volt_curve_regions
...
to amdsmi_get_gpu_od_volt_curve_regions
grep -rli 'amdsmi_dev_get_od_volt_curve_regions' * | xargs -i@ sed -i
's/amdsmi_dev_get_od_volt_curve_regions/amdsmi_get_gpu_od_volt_curve_regions/g' @
Change-Id: I4b390c2d5173ca919c4ab5b1173a4fc40e2a0015
[ROCm/amdsmi commit: ced22230c4 ]
2023-05-11 11:00:33 -04:00
Deepak Mewar
a970cea1b0
Renamed API amdsmi_dev_set_od_volt_info
...
to amdsmi_set_gpu_od_volt_info
grep -rli 'amdsmi_dev_set_od_volt_info' * | xargs -i@ sed -i
's/amdsmi_dev_set_od_volt_info/amdsmi_set_gpu_od_volt_info/g' @
Change-Id: I2364f9f555c010e1022e2c946a65b72fcf3d2233
[ROCm/amdsmi commit: 467f3e3bb7 ]
2023-05-11 10:59:51 -04:00
Deepak Mewar
19d30f71bd
Renamed API amdsmi_dev_set_od_clk_info
...
to amdsmi_set_gpu_od_clk_info
grep -rli 'amdsmi_dev_set_od_clk_info' * | xargs -i@ sed -i
's/amdsmi_dev_set_od_clk_info/amdsmi_set_gpu_od_clk_info/g' @
Change-Id: I0f1fd5a80322a544f7d25e09146c9e52b82091f6
[ROCm/amdsmi commit: a72e1ec91d ]
2023-05-11 10:59:25 -04:00
Deepak Mewar
cd81fa970d
Renamed API amdsmi_dev_get_od_volt_info
...
to amdsmi_get_gpu_od_volt_info
grep -rli 'amdsmi_dev_get_od_volt_info' * | xargs -i@ sed -i
's/amdsmi_dev_get_od_volt_info/amdsmi_get_gpu_od_volt_info/g' @
Change-Id: Icd8658509b28523b7c04f8d2c53efb82689e294b
[ROCm/amdsmi commit: 2bd94db02c ]
2023-05-11 10:59:11 -04:00
Deepak Mewar
6229bac89b
Renamed API amdsmi_dev_get_overdrive_level
...
to amdsmi_get_gpu_overdrive_level
grep -rli 'amdsmi_dev_get_overdrive_level' * | xargs -i@ sed -i
's/amdsmi_dev_get_overdrive_level/amdsmi_get_gpu_overdrive_level/g' @
Change-Id: Id33a4544a2f2fd9d77de601addcf4e45d09d65d1
[ROCm/amdsmi commit: 78ce4979e1 ]
2023-05-11 10:59:00 -04:00
Deepak Mewar
f9e0851070
Renamed API amdsmi_dev_xgmi_error_status
...
to amdsmi_gpu_xgmi_error_status
grep -rli 'amdsmi_dev_xgmi_error_status' * | xargs -i@ sed -i
's/amdsmi_dev_xgmi_error_status/amdsmi_gpu_xgmi_error_status/g' @
Change-Id: I0d2338f0e924da5d69d280fdd988c2a6f9fe4ace
[ROCm/amdsmi commit: d83dc2b005 ]
2023-05-11 10:58:49 -04:00
Deepak Mewar
3be8f88cab
Renamed API amdsmi_counter_get_available_counters
...
to amdsmi_get_gpu_available_counters
grep -rli 'amdsmi_counter_get_available_counters' * | xargs -i@ sed -i
's/amdsmi_counter_get_available_counters/amdsmi_get_gpu_available_counters/g' @
Change-Id: Ief60be6c95f2ea4d0f6f91b153263d95710e6942
[ROCm/amdsmi commit: 0cb9e157db ]
2023-05-11 10:56:57 -04:00
Deepak Mewar
1894e4d345
Renamed API amdsmi_read_counter
...
to amdsmi_gpu_read_counter
grep -rli 'amdsmi_read_counter' * | xargs -i@ sed -i
's/amdsmi_read_counter/amdsmi_gpu_read_counter/g' @
Change-Id: Ie9fec914358dd901930db54ab94e05f2fe32fa5a
[ROCm/amdsmi commit: 7a6c26244e ]
2023-05-11 10:55:52 -04:00
Deepak Mewar
c70ff3cbed
Renamed API amdsmi_control_counter
...
to amdsmi_gpu_control_counter
grep -rli 'amdsmi_control_counter' * | xargs -i@ sed -i
's/amdsmi_control_counter/amdsmi_gpu_control_counter/g' @
Change-Id: Ibdcd32327ebd2646375fb5c3b913cb528ac8aa97
[ROCm/amdsmi commit: 6e1a72d2c1 ]
2023-05-11 10:55:36 -04:00
Deepak Mewar
ca4b919b16
Renamed API amdsmi_dev_destroy_counter
...
to amdsmi_gpu_destroy_counter
grep -rli 'amdsmi_dev_destroy_counter' * | xargs -i@ sed -i
's/amdsmi_dev_destroy_counter/amdsmi_gpu_destroy_counter/g' @
Change-Id: I328f65f5a2a86108ee5b217f95ed0f4f03745286
[ROCm/amdsmi commit: e6dd8d49ba ]
2023-05-11 10:55:22 -04:00
Deepak Mewar
69267f01c1
Renamed API amdsmi_dev_create_counter
...
to amdsmi_gpu_create_counter
grep -rli 'amdsmi_dev_create_counter' * | xargs -i@ sed -i
's/amdsmi_dev_create_counter/amdsmi_gpu_create_counter/g' @
Change-Id: Ic296057314f98547dd6a01b1c7d51668cfe5bc9a
[ROCm/amdsmi commit: 0c435b81c2 ]
2023-05-11 10:55:06 -04:00