fix some typos (#24071)
Signed-off-by: co63oc <co63oc@users.noreply.github.com>
This commit is contained in:
Vendored
+1
-1
@@ -3533,7 +3533,7 @@ def nvmlDeviceGetMPSComputeRunningProcesses_v3(handle):
|
||||
return []
|
||||
elif (ret == NVML_ERROR_INSUFFICIENT_SIZE):
|
||||
# typical case
|
||||
# oversize the array incase more processes are created
|
||||
# oversize the array in case more processes are created
|
||||
c_count.value = c_count.value * 2 + 5
|
||||
proc_array = c_nvmlProcessInfo_v3_t * c_count.value
|
||||
c_procs = proc_array()
|
||||
|
||||
Reference in New Issue
Block a user