1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-19 04:11:16 -05:00

OpenCL RandomX WIP

This commit is contained in:
XMRig
2019-09-11 15:48:02 +07:00
parent ff89ec660c
commit 4c90f9960e
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;