Joe Narlo
3052ad4220
SWDEV-495787 [AMDSMI] Different license headers
...
Change copyrights to MIT and remove date
Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com >
Change-Id: I16f5b412f2b9ddefaaa1771aa714cc18829a1be4
2024-11-22 08:55:28 -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
Maisam Arif
105db1afcd
Udpated License Dates
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8ca199c129c06508bc3e23745ab5ac2d20dce928
2024-09-16 16:14:47 -04:00
Oliveira, Daniel
08e2e21bab
fix: [SWDEV-442525] [rocm/amd_smi_lib]
...
Fixes gpu_process_list
Code changes related to the following:
* amdsmi_get_gpu_process_list()
* CLI
* Examples
* Unit tests
* Changelog
* Readme
* rocm_smi_lib commit: 677433b367
Change-Id: I9210fbca7a5da92d0a8b472b72ca82597c8e4fb5
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com >
2024-03-27 16:48:24 -05:00
Maisam Arif
5dba2f3120
Updated License Dates
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Id6fd66b03c602232ecc1a063a534a15fe3a03f56
2023-11-07 03:57:08 -05:00
Deepak Mewar
26f8190cb4
Renamed API amdsmi_get_compute_process_gpus
...
to amdsmi_get_gpu_compute_process_gpus
grep -rli 'amdsmi_get_compute_process_gpus' * | xargs -i@ sed -i
's/amdsmi_get_compute_process_gpus/amdsmi_get_gpu_compute_process_gpus/g' @
Change-Id: I230bbf85e96983f9e0d2e3c61464c2bf4b353a95
2023-05-11 10:53:48 -04:00
Deepak Mewar
f3854b3d5f
Renamed APIs
...
1) amdsmi_get_compute_process_info to
amdsmi_get_gpu_compute_process_info
2) amdsmi_get_compute_process_info_by_pid to
amdsmi_get_gpu_compute_process_info_by_pid
grep -rli 'amdsmi_get_compute_process_info' * | xargs -i@ sed -i
's/amdsmi_get_compute_process_info/amdsmi_get_gpu_compute_process_info/g' @
Change-Id: Ia5c9c22d1466ecea27d3ae3025b3b87db75853e2
2023-05-11 10:53:41 -04: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
Dalibor Stanisavljevic
b4b761d02f
SWDEV-370223 - Change the name of the header to amdsmi.h
...
Change dev to device_handle throughout the file
Change the pcie_info pcie_speed field type to uint32_t
Add AMDSMI prefix before amdsmi_mm_ip enum
Change-Id: I242145389ddc3f2ad05dfd6ca371640f4d118fc4
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2022-12-08 13:34:34 +01:00
Galantsev, Dmitrii
7957b63dd4
Cleanup tests
...
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2022-11-03 13:30:16 -05:00
Bill(Shuzhou) Liu
2b2d11c446
Change the get_socket_handles and get_device_handles APIs interface
...
Those two APIs are changed to let the user get the handles count,
allocate memory, and then return handles to the allocated memory.
Change-Id: Ibe28a89ad188c99da6af3af1740b2b25ff22ba06
2022-10-20 09:24:31 -05:00
Bill(Shuzhou) Liu
0c91ef919d
Restructure the folder
...
Move rocm_smi related function to rocm_smi folder. Move amd_smi to
top level include/ and src/ folder. Remove obsolte oam folder.
Change the CMakeLists.txt to update folder locations.
Change-Id: I52e6be739e49f3b0545865f25364787f5985e9c3
2022-10-20 09:23:51 -05:00
Bill(Shuzhou) Liu
86017b799c
Port more rocm-smi function to amd-smi
...
The API support function, performance counter, process information,
topology and xgmi info.
Change-Id: I3350ec75fdd2ca1438e79134582ae83c49763056
2022-08-24 12:49:27 -05:00