mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-10 12:54:33 +00:00
Fixed gcc build.
This commit is contained in:
parent
b7fbb28a47
commit
382bfb0957
2 changed files with 8 additions and 1 deletions
|
@ -207,7 +207,7 @@ public:
|
|||
|
||||
# ifdef XMRIG_ALGO_ASTROBWT
|
||||
if (algo.family() == Algorithm::ASTROBWT) {
|
||||
algo_l3 = xmrig::OclAstroBWTRunner::BWT_DATA_STRIDE * 17 + 324;
|
||||
algo_l3 = OclAstroBWTRunner::BWT_DATA_STRIDE * 17 + 324;
|
||||
}
|
||||
# endif
|
||||
|
||||
|
|
|
@ -37,8 +37,15 @@
|
|||
#include "base/net/stratum/Job.h"
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
constexpr int STAGE1_SIZE = 147253;
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue