fix load bug

This commit is contained in:
tqchen
2014-10-16 21:47:01 -07:00
parent 3f3c90c3c0
commit f6d61f02f6
5 changed files with 18 additions and 2 deletions

View File

@@ -192,7 +192,8 @@ class BoostLearner {
std::fill(enabled.begin(), enabled.end(), false);
int start = step * pid;
int end = std::min(step * (pid + 1), ncol);
utils::Printf("rank %d idset:", pid);
std::string name = sync::GetProcessorName();
utils::Printf("rank %d of %s idset:", pid, name.c_str());
for (int i = start; i < end; ++i) {
enabled[col_index[i]] = true;
utils::Printf(" %u", col_index[i]);