excuse me, I also got the same problem.But i install cuda-8.0 on ubuntu14.04
when I want to try NVIDIA_CUDA-8.0_Samples/bin/x86_64/linux/release, got error.
run ./deviceQuery , I get this result.
How can I fix it?
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 30
-> unknown error
Result = FAIL
sudo modinfo nvidia-uvm
filename: /lib/modules/4.4.0-31-generic/updates/dkms/nvidia-uvm.ko
supported: external
license: MIT
srcversion: A818A16BB09EF4EBB6FA5C7
depends: nvidia
vermagic: 4.4.0-31-generic SMP mod_unload modversions
parm: uvm_perf_prefetch_enable:uint
parm: uvm_perf_prefetch_threshold:uint
parm: uvm_perf_prefetch_min_faults:uint
parm: uvm_perf_thrashing_enable:uint
parm: uvm_perf_thrashing_threshold:uint
parm: uvm_perf_thrashing_pin_threshold:uint
parm: uvm_perf_thrashing_lapse_usec:uint
parm: uvm_perf_thrashing_nap_usec:uint
parm: uvm_perf_thrashing_epoch_msec:uint
parm: uvm_perf_thrashing_max_resets:uint
parm: uvm_hmm:Enable (1) or disable (0) HMM mode. Default: 0. Ignored if CONFIG_HMM is not set, or if NEXT settings conflict with HMM. (int)
parm: uvm_global_oversubscription:Enable (1) or disable (0) global oversubscription support. (int)
parm: uvm_leak_checker:Enable uvm memory leak checking. 0 = disabled, 1 = count total bytes allocated and freed, 2 = per-allocation origin tracking. (int)
parm: uvm_force_prefetch_fault_support:uint
parm: uvm_debug_enable_push_desc:Enable push description tracking (int)
parm: uvm_page_table_location:Set the location for UVM-allocated page tables. Choices are: vid, sys. (charp)
parm: uvm_perf_reenable_prefetch_faults_lapse_msec:uint
parm: uvm_perf_fault_batch_count:uint
parm: uvm_perf_fault_replay_policy:uint
parm: uvm_perf_fault_max_batches_per_service:uint
parm: uvm_perf_fault_max_throttle_per_service:uint
parm: uvm_fault_force_sysmem:Force (1) using sysmem storage for pages that faulted. Default: 0. (int)
parm: uvm_enable_debug_procfs:Enable debug procfs entries in /proc/driver/nvidia-uvm (int)
parm: uvm_prefetch_stats:int
parm: uvm_prefetch_threshold:int
parm: uvm_prefetch_adaptive:int
parm: uvm_prefetch_epoch:int
parm: uvm_prefetch_sparsity_inc:int
parm: uvm_prefetch_sparsity_dec:int
parm: uvm_prefetch:int
parm: uvm_driver_mode:Set the uvm kernel driver mode. Choices include: 8 (charp)
parm: uvm_debug_prints:Enable uvm debug prints. (int)
parm: uvm_enable_builtin_tests:Enable the UVM built-in tests. (This is a security risk) (int)
sudo modprobe -v nvidia-uvm
insmod /lib/modules/4.4.0-31-generic/updates/dkms/nvidia_340.ko
insmod /lib/modules/4.4.0-31-generic/updates/dkms/nvidia_340_uvm.ko
modprobe: ERROR: could not insert 'nvidia_340_uvm': Invalid argument
sorry, I am new to use ubuntu.
hope can help me,thanks
chun