76333 Commit
Autore SHA1 Messaggio Data
Galantsev, Dmitrii 49553cf896 Merge remote-tracking branch 'rocmsmi/amd-staging' into HEAD
Change-Id: I0661926c10eef2bc32b83d9a63a3a6eb6991e781


[ROCm/amdsmi commit: 31cc2eecfb]
2023-09-25 04:35:53 -05:00
Satyanvesh Dittakavi 3c89a1a293 SWDEV-402080 - Add options such as -Rpass=inline to exe_options in RTC if the user passes it
Change-Id: I12fcf200ed9d3112b014f3d426d5fe504eeca163


[ROCm/clr commit: 2764b85ca5]
2023-09-25 04:03:44 -04:00
Satyanvesh Dittakavi 2764b85ca5 SWDEV-402080 - Add options such as -Rpass=inline to exe_options in RTC if the user passes it
Change-Id: I12fcf200ed9d3112b014f3d426d5fe504eeca163
2023-09-25 04:03:44 -04:00
Galantsev, Dmitrii ac8bde5978 CMAKE - Fix --break-system-packages
Change-Id: I4a46859124018b6574d2b53e6ef9e72482784f39
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-25 02:03:27 -05:00
Galantsev, Dmitrii 82a44740fe CMAKE - Fix --break-system-packages
Change-Id: I4a46859124018b6574d2b53e6ef9e72482784f39
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: ac8bde5978]
2023-09-25 02:03:27 -05: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
Maisam Arif d0656df4ca Updated tool & lib versions & README.md
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ic41a36bcfa988ce9c8304157593012752857e919


[ROCm/amdsmi commit: 25b055014d]
2023-09-25 02:02:22 -05:00
Maisam Arif 053c5d0c53 Fixed vram_type reference to vram_vendor
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I3519992f1cc59c411c2b045f0532be4de63090a2
2023-09-25 02:02:22 -05:00
Maisam Arif af638612c1 Fixed vram_type reference to vram_vendor
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I3519992f1cc59c411c2b045f0532be4de63090a2


[ROCm/amdsmi commit: 053c5d0c53]
2023-09-25 02:02:22 -05:00
Maisam Arif 5ab82ad4e6 Added N/A for mixed gpu values with --csv
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Iab730ae61d2c0fb08785e90f05f83bab755b5d94
2023-09-25 02:02:22 -05:00
Maisam Arif 75689a3c7e Added N/A for mixed gpu values with --csv
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Iab730ae61d2c0fb08785e90f05f83bab755b5d94


[ROCm/amdsmi commit: 5ab82ad4e6]
2023-09-25 02:02:22 -05:00
Maisam Arif b90dff83ea Remove adding .json, .csv, & .txt file extensions
Change-Id: I35172115932a1363c23aedf877151e87b669bca4
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-25 02:02:22 -05:00
Maisam Arif 29e9a4eec1 Remove adding .json, .csv, & .txt file extensions
Change-Id: I35172115932a1363c23aedf877151e87b669bca4
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: b90dff83ea]
2023-09-25 02:02:22 -05:00
Maisam Arif 9c314dfd5c Updated metric --xgmi_err to display string instead of object
Change-Id: I4f67384cdf65b5fa3cb04e1012ba79a53ae72cd7
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-25 02:02:22 -05:00
Maisam Arif f87489b735 Updated metric --xgmi_err to display string instead of object
Change-Id: I4f67384cdf65b5fa3cb04e1012ba79a53ae72cd7
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: 9c314dfd5c]
2023-09-25 02:02:22 -05:00
Maisam Arif 9281bfbbfa 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>
2023-09-25 01:49:35 -05: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
Satyanvesh Dittakavi f41b061970 SWDEV-395996 - Disable including driver_types in hiprtc
Do not include driver_types if rtc is defined, as it is
getting appended via hiprtc cmake

Change-Id: I940031abd6eabb2853666490cba27e2375ec39a4


[ROCm/hip commit: 5a9469db07]
2023-09-25 02:11:33 -04:00
Satyanvesh Dittakavi 5a9469db07 SWDEV-395996 - Disable including driver_types in hiprtc
Do not include driver_types if rtc is defined, as it is
getting appended via hiprtc cmake

Change-Id: I940031abd6eabb2853666490cba27e2375ec39a4
2023-09-25 02:11:33 -04:00
Galantsev, Dmitrii db3e119f7d Remove old gpuv-smi symlink
Change-Id: I39d9aa96eb8ed2dd6a4a222c3c4da9ff2b2de007
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-25 00:52:17 -05:00
Galantsev, Dmitrii 10207f0a3a Remove old gpuv-smi symlink
Change-Id: I39d9aa96eb8ed2dd6a4a222c3c4da9ff2b2de007
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: db3e119f7d]
2023-09-25 00:52:17 -05:00
Charis Poag fd5066437b Add Current (Instant) Socket Power
* Updates:
    - rocm_smi_logger:
      General cleanup &
      Aligned to cpplint rules for usage
    - rocm_smi_monitor:
      Fixed MonitorTypes
      from not displaying properly in logs
      & Added socket power label + current
      socket power MonitorTypes
    - rocm_smi API:
      Added rsmi_dev_current_socket_power_get API
    - rocm_smi CLI:
      General cleanup,
      Concise info now displays device data
      in variable width (see printLogSpacer's
      new field),
      printLogSpacer now as an adjustable
      variable that overrides appWidth,
      Added Socket Power to base rocm-smi +
      --showpower CLI calls,
      --showpower & base rocm-smi CLI defaults
      to printing socket power (if not available,
      displays average power)
    - Cleaned up temp label references
    - power_read gtests:
      Added current socket power to testing

Change-Id: Ica57e6f98ad96e2584e7c7955e188f68d2dab89d
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/rocm_smi_lib commit: f078375350]
2023-09-25 01:38:54 -04:00
Charis Poag f078375350 Add Current (Instant) Socket Power
* Updates:
    - rocm_smi_logger:
      General cleanup &
      Aligned to cpplint rules for usage
    - rocm_smi_monitor:
      Fixed MonitorTypes
      from not displaying properly in logs
      & Added socket power label + current
      socket power MonitorTypes
    - rocm_smi API:
      Added rsmi_dev_current_socket_power_get API
    - rocm_smi CLI:
      General cleanup,
      Concise info now displays device data
      in variable width (see printLogSpacer's
      new field),
      printLogSpacer now as an adjustable
      variable that overrides appWidth,
      Added Socket Power to base rocm-smi +
      --showpower CLI calls,
      --showpower & base rocm-smi CLI defaults
      to printing socket power (if not available,
      displays average power)
    - Cleaned up temp label references
    - power_read gtests:
      Added current socket power to testing

Change-Id: Ica57e6f98ad96e2584e7c7955e188f68d2dab89d
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2023-09-25 01:38:54 -04:00
Charis Poag 6e81bbcf16 Add Current (Instant) Socket Power
* Updates:
    - rocm_smi_logger:
      General cleanup &
      Aligned to cpplint rules for usage
    - rocm_smi_monitor:
      Fixed MonitorTypes
      from not displaying properly in logs
      & Added socket power label + current
      socket power MonitorTypes
    - rocm_smi API:
      Added rsmi_dev_current_socket_power_get API
    - rocm_smi CLI:
      General cleanup,
      Concise info now displays device data
      in variable width (see printLogSpacer's
      new field),
      printLogSpacer now as an adjustable
      variable that overrides appWidth,
      Added Socket Power to base rocm-smi +
      --showpower CLI calls,
      --showpower & base rocm-smi CLI defaults
      to printing socket power (if not available,
      displays average power)
    - Cleaned up temp label references
    - power_read gtests:
      Added current socket power to testing

Change-Id: Ica57e6f98ad96e2584e7c7955e188f68d2dab89d
Signed-off-by: Charis Poag <Charis.Poag@amd.com>


[ROCm/amdsmi commit: f078375350]
2023-09-25 01:38:54 -04:00
Galantsev, Dmitrii 80c47e3c09 SWDEV-422836 - Add sleep frequency support
Change-Id: I0bde403b010bf036ce44ed0600cc7eb03742c6b6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 3d40c4bb2c]
2023-09-25 01:38:27 -04:00
Galantsev, Dmitrii 3d40c4bb2c SWDEV-422836 - Add sleep frequency support
Change-Id: I0bde403b010bf036ce44ed0600cc7eb03742c6b6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-25 01:38:27 -04:00
Galantsev, Dmitrii e9addd72cc SWDEV-422836 - Add sleep frequency support
Change-Id: I0bde403b010bf036ce44ed0600cc7eb03742c6b6
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 3d40c4bb2c]
2023-09-25 01:38:27 -04:00
Ori Messinger 9eaad9eaea ROCm SMI LIB: Add Missing Firmware Blocks
The purpose of this patch is to add the following missing firmware
blocks to the SMI LIB:
-RSMI_FW_BLOCK_MES
-RSMI_FW_BLOCK_MES_KIQ

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I5d4d37d883878dd02ef8533d4eb8891d54d70630


[ROCm/rocm_smi_lib commit: d44a6ef523]
2023-09-25 01:37:38 -04:00
Ori Messinger d44a6ef523 ROCm SMI LIB: Add Missing Firmware Blocks
The purpose of this patch is to add the following missing firmware
blocks to the SMI LIB:
-RSMI_FW_BLOCK_MES
-RSMI_FW_BLOCK_MES_KIQ

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I5d4d37d883878dd02ef8533d4eb8891d54d70630
2023-09-25 01:37:38 -04:00
Ori Messinger 0d1ac5edac ROCm SMI LIB: Add Missing Firmware Blocks
The purpose of this patch is to add the following missing firmware
blocks to the SMI LIB:
-RSMI_FW_BLOCK_MES
-RSMI_FW_BLOCK_MES_KIQ

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I5d4d37d883878dd02ef8533d4eb8891d54d70630


[ROCm/amdsmi commit: d44a6ef523]
2023-09-25 01:37:38 -04:00
Bill(Shuzhou) Liu 93557c6e4e Change the python tool id output label
Change the label from GPU to Device as we call rsmi_dev_id_get().

Change-Id: I8ffe3673d434e5291ebd5cc909afb7d18154ecb6


[ROCm/rocm_smi_lib commit: 2247c4b46c]
2023-09-25 01:31:04 -04:00
Bill(Shuzhou) Liu 2247c4b46c Change the python tool id output label
Change the label from GPU to Device as we call rsmi_dev_id_get().

Change-Id: I8ffe3673d434e5291ebd5cc909afb7d18154ecb6
2023-09-25 01:31:04 -04:00
Bill(Shuzhou) Liu 8c9d2f4e20 Change the python tool id output label
Change the label from GPU to Device as we call rsmi_dev_id_get().

Change-Id: I8ffe3673d434e5291ebd5cc909afb7d18154ecb6


[ROCm/amdsmi commit: 2247c4b46c]
2023-09-25 01:31:04 -04:00
Bill(Shuzhou) Liu ce2ca09d2c Handle the memory frequency with only one line
Change the code to handle the memory frequency if it is only one line.

Change-Id: I09e6ee78a2b9c12c861243dc89296e4e7862da49


[ROCm/rocm_smi_lib commit: 85df5676d4]
2023-09-25 01:30:56 -04:00
Bill(Shuzhou) Liu 85df5676d4 Handle the memory frequency with only one line
Change the code to handle the memory frequency if it is only one line.

Change-Id: I09e6ee78a2b9c12c861243dc89296e4e7862da49
2023-09-25 01:30:56 -04:00
Bill(Shuzhou) Liu 137fd1b628 Handle the memory frequency with only one line
Change the code to handle the memory frequency if it is only one line.

Change-Id: I09e6ee78a2b9c12c861243dc89296e4e7862da49


[ROCm/amdsmi commit: 85df5676d4]
2023-09-25 01:30:56 -04:00
pghafari e9134ca616 SWDEV-414833 - adding hipDeviceAttributeIsLargeBar
to hipDeviceGetAttribute

Change-Id: Icde0ab9326b1759c66f9a3acbadfb9a01cf6a5be


[ROCm/clr commit: 9008a53c98]
2023-09-25 00:31:30 -04:00
pghafari 9008a53c98 SWDEV-414833 - adding hipDeviceAttributeIsLargeBar
to hipDeviceGetAttribute

Change-Id: Icde0ab9326b1759c66f9a3acbadfb9a01cf6a5be
2023-09-25 00:31:30 -04:00
Maisam Arif 842b290a44 Added energy counter in metric --energy
Change-Id: I8ea09af79a1a37f53038d06a89eeac0882c47a1d
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-24 22:32:52 -04:00
Maisam Arif e408c46775 Added energy counter in metric --energy
Change-Id: I8ea09af79a1a37f53038d06a89eeac0882c47a1d
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: 842b290a44]
2023-09-24 22:32:52 -04:00
Hao Zhou 38fd75cffe Merge amd-staging into amd-master 20230925
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Id510a95e3bea2ddddae7c417071bde599569930a


[ROCm/rocm_smi_lib commit: d417ea52f6]
2023-09-25 09:38:13 +08:00
Hao Zhou d417ea52f6 Merge amd-staging into amd-master 20230925
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Id510a95e3bea2ddddae7c417071bde599569930a
2023-09-25 09:38:13 +08:00
Hao Zhou 75e5e1bd58 Merge amd-staging into amd-master 20230925
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I84b76024c6b88234f92add3453fe291805363cda
2023-09-25 09:36:45 +08:00
Hao Zhou e5b9048d52 Merge amd-staging into amd-master 20230925
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I84b76024c6b88234f92add3453fe291805363cda


[ROCm/amdsmi commit: 75e5e1bd58]
2023-09-25 09:36:45 +08:00
Maisam Arif 5c52f82328 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>
2023-09-24 21:17:43 -04: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 8a9f862dbf Change uuid_info file read to uuid generation
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I77f2c6b44efd6faae3c2466989e1caeaad16669d
2023-09-24 21:17:34 -04:00
Maisam Arif b6630e0200 Change uuid_info file read to uuid generation
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I77f2c6b44efd6faae3c2466989e1caeaad16669d


[ROCm/amdsmi commit: 8a9f862dbf]
2023-09-24 21:17:34 -04:00
Maisam Arif a28df4a242 Added all option to gpu selection
Change-Id: Ifcb49d66239c54fd3a214f4782321bbcc59e057a
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-24 18:13:38 -04:00
Maisam Arif 2e3bf6eb1a Added all option to gpu selection
Change-Id: Ifcb49d66239c54fd3a214f4782321bbcc59e057a
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: a28df4a242]
2023-09-24 18:13:38 -04:00