Browse Source

small change to erasemode::all

cl-refactor
Genoil 9 years ago
parent
commit
4b6852b98e
  1. 7
      ethminer/MinerAux.h
  2. BIN
      releases/ethminer-0.9.41-genoil-1.0.6b.zip

7
ethminer/MinerAux.h

@ -459,7 +459,10 @@ public:
EthashAux::setCustomDirName(s_dagDir); EthashAux::setCustomDirName(s_dagDir);
EthashAux::setDAGEraseMode(m_eraseMode); EthashAux::setDAGEraseMode(m_eraseMode);
EthashAux::eraseDAGs(); EthashAux::eraseDAGs();
if (m_eraseMode == DAGEraseMode::All)
{
m_eraseMode = DAGEraseMode::None;
}
if (m_shouldListDevices) if (m_shouldListDevices)
{ {
@ -576,7 +579,7 @@ public:
<< " none - don't erase DAG files (default)" << endl << " none - don't erase DAG files (default)" << endl
<< " old - erase all DAG files older than current epoch" << endl << " old - erase all DAG files older than current epoch" << endl
<< " bench - like old, but keep epoch 0 for benchmarking" << endl << " bench - like old, but keep epoch 0 for benchmarking" << endl
<< " all - erase all DAG files" << endl << " all - erase all DAG files. After deleting all files, setting changes to none." << endl
<< "Mining configuration:" << endl << "Mining configuration:" << endl
<< " -C,--cpu When mining, use the CPU." << endl << " -C,--cpu When mining, use the CPU." << endl
<< " -G,--opencl When mining use the GPU via OpenCL." << endl << " -G,--opencl When mining use the GPU via OpenCL." << endl

BIN
releases/ethminer-0.9.41-genoil-1.0.6b.zip

Binary file not shown.
Loading…
Cancel
Save