mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 16:05:05 -05:00
Fixed gcc build.
This commit is contained in:
@@ -207,7 +207,7 @@ public:
|
|||||||
|
|
||||||
# ifdef XMRIG_ALGO_ASTROBWT
|
# ifdef XMRIG_ALGO_ASTROBWT
|
||||||
if (algo.family() == Algorithm::ASTROBWT) {
|
if (algo.family() == Algorithm::ASTROBWT) {
|
||||||
algo_l3 = xmrig::OclAstroBWTRunner::BWT_DATA_STRIDE * 17 + 324;
|
algo_l3 = OclAstroBWTRunner::BWT_DATA_STRIDE * 17 + 324;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,15 @@
|
|||||||
#include "base/net/stratum/Job.h"
|
#include "base/net/stratum/Job.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace xmrig {
|
||||||
|
|
||||||
|
|
||||||
constexpr int STAGE1_SIZE = 147253;
|
constexpr int STAGE1_SIZE = 147253;
|
||||||
constexpr uint32_t STAGE1_DATA_STRIDE = (STAGE1_SIZE + 256 + 255) & ~255U;
|
constexpr uint32_t STAGE1_DATA_STRIDE = (STAGE1_SIZE + 256 + 255) & ~255U;
|
||||||
|
constexpr uint32_t OclAstroBWTRunner::BWT_DATA_STRIDE;
|
||||||
|
|
||||||
|
|
||||||
|
} // namespace xmrig
|
||||||
|
|
||||||
|
|
||||||
xmrig::OclAstroBWTRunner::OclAstroBWTRunner(size_t index, const OclLaunchData &data) : OclBaseRunner(index, data)
|
xmrig::OclAstroBWTRunner::OclAstroBWTRunner(size_t index, const OclLaunchData &data) : OclBaseRunner(index, data)
|
||||||
|
|||||||
Reference in New Issue
Block a user