Browse Source

Implement memory check function also for the CPU

- Should fix the build, since Ethash is an interface.
cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
bedddefda0
  1. 1
      libethcore/Ethash.h

1
libethcore/Ethash.h

@ -87,6 +87,7 @@ public:
static unsigned instances() { return s_numInstances > 0 ? s_numInstances : std::thread::hardware_concurrency(); }
static std::string platformInfo();
static bool haveSufficientGPUMemory() { return false; }
static void setDefaultPlatform(unsigned) {}
static void setDefaultDevice(unsigned) {}
static void setNumInstances(unsigned _instances) { s_numInstances = std::min<unsigned>(_instances, std::thread::hardware_concurrency()); }

Loading…
Cancel
Save