mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 16:05:05 -05:00
AstroBWT CUDA support
This commit is contained in:
@@ -62,6 +62,7 @@ public:
|
||||
DevicePciDeviceID,
|
||||
DevicePciDomainID,
|
||||
DeviceDatasetHost,
|
||||
DeviceAstroBWTProcessedHashes,
|
||||
};
|
||||
|
||||
static bool init(const char *fileName = nullptr);
|
||||
@@ -77,6 +78,8 @@ public:
|
||||
static bool deviceInit(nvid_ctx *ctx) noexcept;
|
||||
static bool rxHash(nvid_ctx *ctx, uint32_t startNonce, uint64_t target, uint32_t *rescount, uint32_t *resnonce) noexcept;
|
||||
static bool rxPrepare(nvid_ctx *ctx, const void *dataset, size_t datasetSize, bool dataset_host, uint32_t batchSize) noexcept;
|
||||
static bool AstroBWTHash(nvid_ctx *ctx, uint32_t startNonce, uint64_t target, uint32_t *rescount, uint32_t *resnonce) noexcept;
|
||||
static bool AstroBWTPrepare(nvid_ctx *ctx, uint32_t batchSize) noexcept;
|
||||
static bool setJob(nvid_ctx *ctx, const void *data, size_t size, const Algorithm &algorithm) noexcept;
|
||||
static const char *deviceName(nvid_ctx *ctx) noexcept;
|
||||
static const char *lastError(nvid_ctx *ctx) noexcept;
|
||||
|
||||
Reference in New Issue
Block a user