bug fixed ver

This commit is contained in:
tqchen
2014-12-03 11:51:39 -08:00
parent a186f8c3aa
commit 8a6768763d
5 changed files with 12 additions and 14 deletions

View File

@@ -80,7 +80,7 @@ int main(int argc, char *argv[]) {
TestSum(mock, n);
utils::LogPrintf("[%d] !!!TestSum pass\n", rank);
int step = std::max(nproc / 3, 1);
for (int i = 0; i < nproc; i += step) {
for (int i = 0; i < nproc; i += step) {
TestBcast(mock, n, i);
}
utils::LogPrintf("[%d] !!!TestBcast pass\n", rank);