| 45 | } |
| 46 | |
| 47 | string MakeStringKey(const string& name) { |
| 48 | return Rendezvous::CreateKey( |
| 49 | "/job:localhost/replica:0/task:0/device:CPU:0", 0, |
| 50 | "/job:localhost/replica:0/task:0/device:GPU:0", name, FrameAndIter(0, 0)); |
| 51 | } |
| 52 | |
| 53 | TEST_F(RendezvousUtilTest, SendBeforeRecv) { |
| 54 | // Fire off sends before receive the tensors. |