Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
1f3ae841
Commit
1f3ae841
authored
Feb 21, 2018
by
rusty1s
Browse files
allow nvcc sudo
parent
af375340
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
build.sh
build.sh
+1
-1
No files found.
build.sh
View file @
1f3ae841
...
@@ -7,4 +7,4 @@ SRC_DIR=torch_scatter/kernel
...
@@ -7,4 +7,4 @@ SRC_DIR=torch_scatter/kernel
BUILD_DIR
=
torch_scatter/build
BUILD_DIR
=
torch_scatter/build
mkdir
-p
$BUILD_DIR
mkdir
-p
$BUILD_DIR
nvcc
-c
-o
$BUILD_DIR
/kernel.so
$SRC_DIR
/kernel.cu
-arch
=
sm_30
-Xcompiler
-fPIC
-shared
-I
$TORCH
/lib/include/TH
-I
$TORCH
/lib/include/THC
-I
$SRC_DIR
$(
which
nvcc
)
-c
-o
$BUILD_DIR
/kernel.so
$SRC_DIR
/kernel.cu
-arch
=
sm_30
-Xcompiler
-fPIC
-shared
-I
$TORCH
/lib/include/TH
-I
$TORCH
/lib/include/THC
-I
$SRC_DIR
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment