mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-13 10:02:50 -05:00
RandomX: returned old soft AES impl and auto-select between the two
This commit is contained in:
@@ -33,7 +33,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
namespace randomx {
|
||||
|
||||
template<bool softAes>
|
||||
template<int softAes>
|
||||
class CompiledLightVm : public CompiledVm<softAes>
|
||||
{
|
||||
public:
|
||||
@@ -52,6 +52,6 @@ namespace randomx {
|
||||
using CompiledVm<softAes>::datasetOffset;
|
||||
};
|
||||
|
||||
using CompiledLightVmDefault = CompiledLightVm<true>;
|
||||
using CompiledLightVmHardAes = CompiledLightVm<false>;
|
||||
using CompiledLightVmDefault = CompiledLightVm<1>;
|
||||
using CompiledLightVmHardAes = CompiledLightVm<0>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user