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-spline-conv
Commits
7b119490
Commit
7b119490
authored
Apr 30, 2018
by
rusty1s
Browse files
better compiler options
parent
c7bef763
Changes
1
Hide 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 @
7b119490
...
...
@@ -7,4 +7,4 @@ SRC_DIR=aten/THC
BUILD_DIR
=
torch_spline_conv/_ext
mkdir
-p
"
$BUILD_DIR
"
$(
which nvcc
)
-c
-o
"
$BUILD_DIR
/THC.so"
"
$SRC_DIR
/THC.cu"
-arch
=
sm_52
-Xcompiler
-fPIC
-shared
"-I
$TORCH
/lib/include/TH"
"-I
$TORCH
/lib/include"
"-I
$SRC_DIR
"
$(
which nvcc
)
"-I
$TORCH
/lib/include"
"-I
$TORCH
/lib/include/TH"
"-I
$TORCH
/lib/include
/THC
"
"-I
$SRC_DIR
"
-c
"
$SRC_DIR
/THC.cu"
-o
"
$BUILD_DIR
/THC.o"
--compiler-options
'-fPIC'
-std
=
c++11
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