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
d10668f9
Commit
d10668f9
authored
Jan 10, 2018
by
rusty1s
Browse files
specify gpu architecture level
parent
98327f62
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 @
d10668f9
...
@@ -5,4 +5,4 @@ SRC_DIR=torch_scatter/kernel
...
@@ -5,4 +5,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
-Xcompiler
-fPIC
-shared
-I
$TORCH
/lib/include/TH
-I
$TORCH
/lib/include/THC
-I
$SRC_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
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