cuda.bindings._v2.driver.checkpoint_process_lock#
- cuda.bindings._v2.driver.checkpoint_process_lock(int pid, args)#
Lock a running CUDA process.
Lock the CUDA process specified by
pidwhich will block further CUDA API calls. Process must be in the RUNNING state in order to lock. Upon successful return the process will be in the LOCKED state. If timeoutMs is specified and the timeout is reached the process will be left in the RUNNING state upon return.- Parameters:
pid (int) – The process ID of the CUDA process.
args (intptr_t) – Optional lock operation arguments.
See also
cuCheckpointProcessLock