"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "368d1c6f4609b323a92799df0a909f326f1b0f4b"
Commit e60840dd authored by rusty1s's avatar rusty1s
Browse files

update readme [ci skip]

parent 3b7b748a
......@@ -149,12 +149,13 @@ pytest
## C++ API
`torch-scatter` also offers a C++ API that contains C++ equivalent of python models.
For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (*e.g.*, it may exists in `{CONDA}/lib/python{X.X}/site-packages/torch` if installed via `conda`):
```
mkdir build
cd build
# Add -DWITH_CUDA=on support for the CUDA if needed
cmake ..
# Add -DWITH_CUDA=on support for CUDA support
cmake -DCMAKE_PREFIX_PATH="..." ..
make
make install
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment