diff --git a/src/backend/cuda/runners/CudaAstroBWTRunner.cpp b/src/backend/cuda/runners/CudaAstroBWTRunner.cpp index af3f4d77d..edead7889 100644 --- a/src/backend/cuda/runners/CudaAstroBWTRunner.cpp +++ b/src/backend/cuda/runners/CudaAstroBWTRunner.cpp @@ -31,13 +31,7 @@ #include "crypto/rx/RxDataset.h" -namespace xmrig { - - - constexpr uint32_t CudaAstroBWTRunner::BWT_DATA_STRIDE; - - -} // namespace xmrig +constexpr uint32_t xmrig::CudaAstroBWTRunner::BWT_DATA_STRIDE; xmrig::CudaAstroBWTRunner::CudaAstroBWTRunner(size_t index, const CudaLaunchData &data) : @@ -63,6 +57,7 @@ bool xmrig::CudaAstroBWTRunner::set(const Job &job, uint8_t *blob) return callWrapper(CudaLib::astroBWTPrepare(m_ctx, static_cast(m_intensity))); } + size_t xmrig::CudaAstroBWTRunner::roundSize() const { constexpr uint32_t STAGE1_SIZE = 147253; @@ -75,6 +70,7 @@ size_t xmrig::CudaAstroBWTRunner::roundSize() const return BATCH1_SIZE; } + size_t xmrig::CudaAstroBWTRunner::processedHashes() const { return CudaLib::deviceInt(m_ctx, CudaLib::DeviceAstroBWTProcessedHashes); diff --git a/src/backend/cuda/runners/CudaAstroBWTRunner.h b/src/backend/cuda/runners/CudaAstroBWTRunner.h index 94ea451f6..0afee8c1c 100644 --- a/src/backend/cuda/runners/CudaAstroBWTRunner.h +++ b/src/backend/cuda/runners/CudaAstroBWTRunner.h @@ -49,8 +49,7 @@ protected: bool set(const Job &job, uint8_t *blob) override; private: - bool m_ready = false; - size_t m_intensity = 0; + size_t m_intensity = 0; }; diff --git a/src/base/net/https/HttpsServer.h b/src/base/net/https/HttpsServer.h index 7f567625b..2b5ecd002 100644 --- a/src/base/net/https/HttpsServer.h +++ b/src/base/net/https/HttpsServer.h @@ -61,7 +61,6 @@ private: std::weak_ptr m_listener; TlsContext *m_tls = nullptr; - uv_tcp_t *m_tcp = nullptr; };