-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Description
CUDA 6 added a new feature named Unified Virtual Memory, which requires a separate kernel module nvidia-uvm that depends on the main driver module. This module is automatically loaded (if not already) when a CUDA/OpenCL context is initiated.
If Bumblebee tries to shut down the DGPU after this happens, the UVM module would block the main NV driver module removal, and the following BBSwitch call would fail as well.
Please add code to handle the UVM module before disabling the main driver module.