Skip to content

Commit

Permalink
Set NVreg_EnableStreamMemOPs=1 when loading nvidia.ko
Browse files Browse the repository at this point in the history
Needed to enable GPUDirect feature set in usermode
  • Loading branch information
JJL772 committed Feb 21, 2024
1 parent 0ba7cea commit 245b1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_gpu/driver/comp_and_load_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd $NVIDIA_PATH

make CC=gcc-12

/usr/sbin/insmod nvidia.ko NVreg_OpenRmEnableUnsupportedGpus=1
/usr/sbin/insmod nvidia.ko NVreg_OpenRmEnableUnsupportedGpus=1 NVreg_EnableStreamMemOPs=1
/usr/sbin/insmod nvidia-modeset.ko
/usr/sbin/insmod nvidia-uvm.ko
/usr/sbin/insmod nvidia-drm.ko modeset=1
Expand Down

0 comments on commit 245b1e4

Please sign in to comment.