Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Some more gpuN instead of gpu/N
Browse files Browse the repository at this point in the history
Extend commit 4f10fd6 .
  • Loading branch information
StefanOberhumer committed Jun 23, 2018
1 parent 33eb2bf commit 3bac573
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libethcore/Miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class Miner: public Worker
void update_temperature(unsigned temperature)
{
/*
cnote << "Setting temp" << temperature << " for gpu/" << index <<
cnote << "Setting temp" << temperature << " for gpu" << index <<
" tstop=" << farm.get_tstop() << " tstart=" << farm.get_tstart();
*/
bool _wait_for_tstart_temp = m_wait_for_tstart_temp.load(std::memory_order_relaxed);
Expand All @@ -244,14 +244,14 @@ class Miner: public Worker
unsigned tstop = farm.get_tstop();
if (tstop && temperature >= tstop)
{
cwarn << "Pause mining on gpu/" << index << " : temperature " << temperature << " is above --tstop " << tstop;
cwarn << "Pause mining on gpu" << index << " : temperature " << temperature << " is above --tstop " << tstop;
m_wait_for_tstart_temp.store(true, std::memory_order_relaxed);
}
} else {
unsigned tstart = farm.get_tstart();
if (tstart && temperature <= tstart)
{
cnote << "(Re)starting mining on gpu/" << index << " : temperature " << temperature << " is now below --tstart " << tstart;
cnote << "(Re)starting mining on gpu" << index << " : temperature " << temperature << " is now below --tstart " << tstart;
m_wait_for_tstart_temp.store(false, std::memory_order_relaxed);
}
}
Expand Down

0 comments on commit 3bac573

Please sign in to comment.