tensorpipe icon indicating copy to clipboard operation
tensorpipe copied to clipboard

Select ibv device who has active port_state.

Open SolenoidWGT opened this issue 3 years ago • 0 comments

If the deviceList contains multiple ibv devices, we want to select the device of the port whose port_state is active, instead of just selecting the first device in the deviceList by default. This is very useful. If we choose the first device without checking, it is likely that the IB runtime can be initialized successfully, but some weird errors will be reported in the ibv_post_send stage. At this time, it is difficult to determine the reason for the error is that we chose a wrong ibv device.

This PR is to fix #455.

SolenoidWGT avatar Sep 28 '22 09:09 SolenoidWGT