Moved from PerfAlgo to Algo in threads to removed not really used cn-fast threads setup
This commit is contained in:
parent
0f880db56f
commit
67ed81f1ec
5 changed files with 45 additions and 44 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
m_variant(VARIANT_AUTO)
|
||||
{}
|
||||
|
||||
inline Algorithm(Algo algo, Variant variant) :
|
||||
inline Algorithm(Algo algo, Variant variant = VARIANT_AUTO) :
|
||||
m_variant(variant)
|
||||
{
|
||||
setAlgo(algo);
|
||||
|
|
|
@ -34,7 +34,8 @@ enum Algo {
|
|||
INVALID_ALGO = -1,
|
||||
CRYPTONIGHT, /* CryptoNight (Monero) */
|
||||
CRYPTONIGHT_LITE, /* CryptoNight-Lite (AEON) */
|
||||
CRYPTONIGHT_HEAVY /* CryptoNight-Heavy (SUMO) */
|
||||
CRYPTONIGHT_HEAVY, /* CryptoNight-Heavy (SUMO) */
|
||||
ALGO_MAX
|
||||
};
|
||||
|
||||
// algorithms that can has different performance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue