From bedddefda06c6c4934653d3e6e5056dd5d04ff8b Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 3 Jun 2015 17:09:23 +0200 Subject: [PATCH] Implement memory check function also for the CPU - Should fix the build, since Ethash is an interface. --- libethcore/Ethash.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libethcore/Ethash.h b/libethcore/Ethash.h index 9986c6a03..075b0522b 100644 --- a/libethcore/Ethash.h +++ b/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(_instances, std::thread::hardware_concurrency()); }