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
db574780
"packaging/windows/vscode:/vscode.git/clone" did not exist on "35ee1dd8272dbf632d7a977bb5869f96a7bacfa3"
Commit
db574780
authored
Aug 19, 2018
by
rusty1s
Browse files
Merge branch 'master' of github.com:rusty1s/pytorch_scatter
parents
9411016d
37b125c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
.travis.yml
.travis.yml
+1
-1
README.md
README.md
+2
-2
cuda/atomics.cuh
cuda/atomics.cuh
+2
-0
No files found.
.travis.yml
View file @
db574780
...
...
@@ -18,7 +18,7 @@ before_install:
-
export CXX="g++-4.9"
install
:
-
if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp27-cp27mu-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install
http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl; fi
-
pip install pycodestyle
-
pip install flake8
...
...
README.md
View file @
db574780
...
...
@@ -35,7 +35,7 @@ All included operations work on varying data types, are implemented both for CPU
## Installation
Ensure that at least PyTorch 0.4.1 is installed and verify that
`cuda/bin`
and
`cuda/in
stall
`
are in your
`$PATH`
and
`$CPATH`
respectively,
*e.g.*
:
Ensure that at least PyTorch 0.4.1 is installed and verify that
`cuda/bin`
and
`cuda/in
clude
`
are in your
`$PATH`
and
`$CPATH`
respectively,
*e.g.*
:
```
$ python -c "import torch; print(torch.__version__)"
...
...
@@ -45,7 +45,7 @@ $ echo $PATH
>>> /usr/local/cuda/bin:...
$ echo $CPATH
>>> /usr/local/cuda/in
stall
:...
>>> /usr/local/cuda/in
clude
:...
```
Then run:
...
...
cuda/atomics.cuh
View file @
db574780
#pragma once
#define ATOMIC(NAME) \
template <typename scalar, size_t size> struct Atomic##NAME##IntegerImpl; \
\
...
...
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