Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,32 @@ $ git clone --recursive https://github.com/pytorch/tensorpipe

Then, build as follows (using ninja instead of make):

``` shell
```shell
$ cd tensorpipe
$ mkdir build
$ cd build
$ cmake ../ -GNinja
$ ninja
```

### Running Tests

Tests can be built using this variant of the above cmake / ninja build:

```shell
$ cmake ../ -GNinja -DTP_BUILD_TESTING=ON
$ ninja tensorpipe_test
```

You can find test executables in `build/tensorpipe/test`.

Tests can be run using (e.g.)
```shell
$ ./tensorpipe_test --gtest_filter='-*Ibv*'
```

The filter `--gtest_filter='-*Ibv*'` prevents the tests from stalling if your system doesn't have Infiniband.

## Interface

There are four classes you need to know about:
Expand Down
2 changes: 1 addition & 1 deletion third_party/googletest
Submodule googletest updated 286 files