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-cluster
Commits
b87eab0b
Commit
b87eab0b
authored
Apr 26, 2018
by
rusty1s
Browse files
c99 fix
parent
d37028f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
build.py
build.py
+2
-0
No files found.
build.py
View file @
b87eab0b
...
...
@@ -15,6 +15,7 @@ sources = ['aten/TH/TH{}.c'.format(f) for f in files]
include_dirs
=
[
'aten/TH'
]
define_macros
=
[]
extra_objects
=
[]
extra_compile_args
=
[
'-std=c99'
]
with_cuda
=
False
if
torch
.
cuda
.
is_available
():
...
...
@@ -35,6 +36,7 @@ ffi = create_extension(
include_dirs
=
include_dirs
,
define_macros
=
define_macros
,
extra_objects
=
extra_objects
,
extra_compile_args
=
extra_compile_args
,
with_cuda
=
with_cuda
,
relative_to
=
__file__
)
...
...
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