projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec536d
)
Add hack script for CUDA.
author
Carl Hetherington
<cth@carlh.net>
Tue, 26 May 2015 10:48:27 +0000
(11:48 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 21 Mar 2016 16:41:12 +0000
(16:41 +0000)
hacks/setup_cuda
[new file with mode: 0755]
patch
|
blob
diff --git a/hacks/setup_cuda
b/hacks/setup_cuda
new file mode 100755
(executable)
index 0000000..
9506dc7
--- /dev/null
+++ b/
hacks/setup_cuda
@@ -0,0
+1,6
@@
+#!/bin/bash
+
+sudo modprobe nvidia-uvm
+D=`grep nvidia-uvm /proc/devices | awk '{print $1}'`
+sudo mknod -m 666 /dev/nvidia-uvm c $D 0
+