Multi Tesla GPUs in CUDA Nbody simulation using Multi gpus

Anyone tested Nbody simulation in SDK with multi gpus? I got two Tesla 2070 cards, it takes only one device. If anyone tried to run in multi devices, could you please give some hints to how to modify that code to use both of my devices. I just want to test my system performance with both GPUs using CUDA.
I will appreciate any type of guides to my multi-gpu implementation.
thanks in advance

Hello Vishva,

        You can use this command to run test for both the cards : ./nbody -benchmark -numdevices=2 -numbodies=100000