Print detailed information about OpenCL threads.

This commit is contained in:
XMRig
2019-09-05 13:00:40 +07:00
parent 9b54e4b827
commit a74c04007f
4 changed files with 38 additions and 9 deletions

View File

@@ -42,6 +42,8 @@ template<Algorithm::Id ALGO = Algorithm::INVALID>
class CnAlgo
{
public:
constexpr CnAlgo() {};
constexpr inline Algorithm::Id base() const { static_assert(ALGO > Algorithm::INVALID && ALGO < Algorithm::RX_0, "invalid CRYPTONIGHT algorithm"); return Algorithm::CN_2; }
constexpr inline bool isHeavy() const { return memory() == CN_MEMORY * 2; }
constexpr inline bool isR() const { return ALGO == Algorithm::CN_R; }