Skip to content

Commit

Permalink
Reintegrating [4.0] branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamon committed Oct 30, 2014
2 parents 4da225e + f24d690 commit d0b2d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CommandGenerate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int CommandGenerate::execute(const std::vector<std::string>& p_args) {

std::cout << " [" << i << "] Device: " << device->getName() << " (" << device->getVersion() << ")" << std::endl;
std::cout << " [" << i << "] Device memory: " << cryo::util::formatValue(config->getBufferSize() >> 20, sizeUnits, sizeLabels) << std::endl;
std::cout << " [" << i << "] CPU memory: " << cryo::util::formatValue(generationDevice->getMemorySize() >> 20, sizeUnits, sizeLabels) << std::endl;
std::cout << " [" << i << "] CPU memory: " << cryo::util::formatValue((unsigned long long)generationDevice->getMemorySize() >> 20, sizeUnits, sizeLabels) << std::endl;

generationDevices.push_back(generationDevice);
}
Expand Down Expand Up @@ -140,7 +140,7 @@ int CommandGenerate::execute(const std::vector<std::string>& p_args) {

std::cout << " [" << (i - 1) << "] Path: " << config->getFullPath() << std::endl;
std::cout << " [" << (i - 1) << "] Nonces: " << config->getStartNonce() << " to " << config->getEndNonce() << " (" << cryo::util::formatValue(config->getNoncesSize() >> 20, sizeUnits, sizeLabels) << ")" << std::endl;
std::cout << " [" << (i - 1) << "] CPU memory: " << cryo::util::formatValue(generationContext->getMemorySize() >> 20, sizeUnits, sizeLabels) << std::endl;
std::cout << " [" << (i - 1) << "] CPU memory: " << cryo::util::formatValue((unsigned long long)generationContext->getMemorySize() >> 20, sizeUnits, sizeLabels) << std::endl;

generationContexts.push_back(generationContext);
}
Expand Down

0 comments on commit d0b2d51

Please sign in to comment.