Commit Graph
5 Commits
Author SHA1 Message Date
tqchen 2f1ba40786 change in socket, to pass out error code 2014-11-27 16:17:07 -08:00
nachocano c565104491 adding some references to mock inside TEST preprocessor directive.
It shouldn't be an assert because it shutdowns the process. Instead should check on the value and return some sort of error, so that we can recover.
The mock contains queues, indexed by the rank of the process. For each node, you can configure the behavior you expect (success or failure for now) when you call any of the methods (AllReduce, Broadcast, LoadCheckPoint and CheckPoint)... If you call several times AllReduce, the outputs will pop from the queue, i.e., first you can retrieve a success, then a failure and so on.
Pretty basic for now, need to tune it better
2014-11-26 17:24:29 -08:00
nachocano 54fcff189f dummy mock for now 2014-11-26 16:37:23 -08:00
tqchen d37f38c455 initial version of allreduce 2014-11-25 16:15:56 -08:00
Tianqi Chen 5e5bdda491 Initial commit 2014-11-25 14:37:18 -08:00