mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
This option allows to specify a GPU device map that will be used during
restore. The provided map must contain all checkpointed GPU devices
in the format "oldUuid=newUuid,oldUuid=newUuid,..." that will be
used to remap old devices to new devices.
Example of migrating all process from GPU_0 to GPU_1:
i=0
for uuid in $(nvidia-smi --list-gpus | grep -oP 'UUID: \K[^)]+'); do
export GPU_$i=$uuid
i=$((i+1))
done
criu restore --gpu-device-map=$GPU_0=$GPU_1,$GPU_1=$GPU_0,$GPU_2=$GPU_2,$GPU_3=$GPU_3
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
|
||
|---|---|---|
| .. | ||
| amdgpu | ||
| cuda | ||