open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

Fix NV2080_CTRL_CMD_GPU_GET_PID_INFO don't work correctly in container

Open QiuMike opened this issue 1 year ago • 1 comments
trafficstars

When call nvmlDeviceGetComputeRunningProcesses_v3() in container, the pid returned is convert by _gpuConvertPid, and will get the pid which is inside the namespace, but not the globle one. When user use the pid to call NV2080_CTRL_CMD_GPU_GET_PID_INFO, we do not do that fasion translation, just compare it with ProcID, this leads users get NULL data inside container.

To fix this issue, just keep the same, do the translation, so that apps could get the pid data.

QiuMike avatar Mar 22 '24 06:03 QiuMike

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 06 '24 06:06 CLAassistant