Skip to content

Commit 39d463b

Browse files
committed
add C++ description
1 parent 839dd6a commit 39d463b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,19 @@ print(valueC)
281281
tensor([8.0, 6.0, 8.0])
282282
```
283283

284+
## C++ API
285+
286+
`torch-sparse` also offers a C++ API that contains C++ equivalent of python models.
287+
288+
```
289+
mkdir build
290+
cd build
291+
# Add -DWITH_CUDA=on support for the CUDA if needed
292+
cmake ..
293+
make
294+
make install
295+
```
296+
284297
## Running tests
285298

286299
```

0 commit comments

Comments
 (0)