[SWDEV-525336] Use KFD to determine process start/stop (#723)

* Used KFD to determine linking between GPUs and PIDs rather than depend on fdinfo's per pid single gpu bdf info that we were getting.

Signed-off-by: adapryor <Adam.pryor@amd.com>

---------

Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com>
This commit is contained in:
Pryor, Adam
2025-10-02 10:57:08 -05:00
committed by GitHub
parent b1eeff9992
commit c967aead58
5 changed files with 96 additions and 73 deletions
-1
View File
@@ -29,7 +29,6 @@
extern "C" {
#endif
amdsmi_status_t gpuvsmi_get_pids(const amdsmi_bdf_t &bdf, std::vector<long int> &pids, uint64_t *size);
amdsmi_status_t gpuvsmi_get_pid_info(const amdsmi_bdf_t &bdf, long int pid, amdsmi_proc_info_t &info);
#ifdef __cplusplus