To clone the repository with the nccl-tests
and cuda-samples
sub-modules use: git clone --recurse-submodules https://github.com/cuda-mode/p2p-perf.git
To update the sub-modules after cloning without sub-modules use:
git submodule init
git submodule update