OpenCL RandomX WIP

This commit is contained in:
XMRig
2019-09-11 15:48:02 +07:00
parent 9fb3f9e01c
commit c4b49d4213
72 changed files with 1717 additions and 505 deletions

View File

@@ -28,7 +28,7 @@
#define XMRIG_RX_CACHE_H
#include <stdint.h>
#include <cstdint>
#include "crypto/randomx/configuration.h"
@@ -55,7 +55,7 @@ public:
bool init(const uint8_t *seed);
static inline constexpr size_t size() { return RANDOMX_CACHE_MAX_SIZE; }
static inline constexpr size_t maxSize() { return RANDOMX_CACHE_MAX_SIZE; }
private:
bool isReady(const uint8_t *seed) const;