nvidia-merged/nvidia-smi

13 lines
188 B
Text
Raw Normal View History

#!/usr/bin/bash
for a in $*
do
case $a in
vgpu)
export LD_PRELOAD="/usr/lib/vgpu_unlock_rs/libvgpu_unlock_rs.so"
;;
esac
done
exec /usr/lib/nvidia/nvidia-smi.orig $@