Skip to content

SINGA-152 Worker class needs to take greater responsibility of its setting up#137

Open
undisputed-seraphim wants to merge 23 commits intoapache:masterfrom
undisputed-seraphim:experimental
Open

SINGA-152 Worker class needs to take greater responsibility of its setting up#137
undisputed-seraphim wants to merge 23 commits intoapache:masterfrom
undisputed-seraphim:experimental

Conversation

@undisputed-seraphim
Copy link
Copy Markdown
Contributor

  • Move setup code from Driver::CreateWorkers to Worker::Setup and debug any issues that may arise.

Comment thread src/worker.cc
<< " start on " << (device >= 0 ? "GPU " + std::to_string(device) : "CPU");
if (device >= 0)
context->ActivateDevice(device);
<< " start on " << (device_type_ >= 0 ? "GPU " + std::to_string(device_type_) : "CPU");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to activate the device if it is a GPU?

@nudles
Copy link
Copy Markdown
Member

nudles commented Mar 21, 2016

pls checkout those conf files that are not relevant to this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants