Disabled VAES for cn/gpu
This commit is contained in:
parent
615715e215
commit
bdeb44ec15
2 changed files with 13 additions and 13 deletions
|
@ -295,7 +295,7 @@ static NOINLINE void cn_explode_scratchpad(cryptonight_ctx *ctx)
|
||||||
constexpr CnAlgo<ALGO> props;
|
constexpr CnAlgo<ALGO> props;
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!SOFT_AES && !props.isHeavy() && cn_vaes_enabled) {
|
if (!SOFT_AES && !props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_explode_scratchpad_vaes(ctx, props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes(ctx, props.memory(), props.half_mem());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -409,7 +409,7 @@ static NOINLINE void cn_implode_scratchpad(cryptonight_ctx *ctx)
|
||||||
constexpr CnAlgo<ALGO> props;
|
constexpr CnAlgo<ALGO> props;
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!SOFT_AES && !props.isHeavy() && cn_vaes_enabled) {
|
if (!SOFT_AES && !props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_implode_scratchpad_vaes(ctx, props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes(ctx, props.memory(), props.half_mem());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1144,7 +1144,7 @@ inline void cryptonight_double_hash_asm(const uint8_t *__restrict__ input, size_
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!props.isHeavy() && cn_vaes_enabled) {
|
if (!props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1192,7 +1192,7 @@ inline void cryptonight_double_hash_asm(const uint8_t *__restrict__ input, size_
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!props.isHeavy() && cn_vaes_enabled) {
|
if (!props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1272,7 +1272,7 @@ static NOINLINE void cryptonight_double_hash_gr_sse41(const uint8_t *__restrict_
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!props.isHeavy() && cn_vaes_enabled) {
|
if (!props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1298,7 +1298,7 @@ static NOINLINE void cryptonight_double_hash_gr_sse41(const uint8_t *__restrict_
|
||||||
if (ALGO == Algorithm::CN_GR_5) cn_gr5_double_mainloop_asm(ctx);
|
if (ALGO == Algorithm::CN_GR_5) cn_gr5_double_mainloop_asm(ctx);
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!props.isHeavy() && cn_vaes_enabled) {
|
if (!props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1378,7 +1378,7 @@ inline void cryptonight_double_hash(const uint8_t *__restrict__ input, size_t si
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!SOFT_AES && !props.isHeavy() && cn_vaes_enabled) {
|
if (!SOFT_AES && !props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1582,7 +1582,7 @@ inline void cryptonight_double_hash(const uint8_t *__restrict__ input, size_t si
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!SOFT_AES && !props.isHeavy() && cn_vaes_enabled) {
|
if (!SOFT_AES && !props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1625,7 +1625,7 @@ static NOINLINE void cryptonight_quad_hash_gr_sse41(const uint8_t* __restrict__
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!props.isHeavy() && cn_vaes_enabled) {
|
if (!props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
cn_explode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
|
@ -1653,7 +1653,7 @@ static NOINLINE void cryptonight_quad_hash_gr_sse41(const uint8_t* __restrict__
|
||||||
if (ALGO == Algorithm::CN_GR_5) cn_gr5_quad_mainloop_asm(ctx);
|
if (ALGO == Algorithm::CN_GR_5) cn_gr5_quad_mainloop_asm(ctx);
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!props.isHeavy() && cn_vaes_enabled) {
|
if (!props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
cn_implode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
|
@ -1918,7 +1918,7 @@ inline void cryptonight_quad_hash(const uint8_t *__restrict__ input, size_t size
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!SOFT_AES && !props.isHeavy() && cn_vaes_enabled) {
|
if (!SOFT_AES && !props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
cn_explode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
cn_explode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
|
@ -1981,7 +1981,7 @@ inline void cryptonight_quad_hash(const uint8_t *__restrict__ input, size_t size
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_VAES
|
# ifdef XMRIG_VAES
|
||||||
if (!SOFT_AES && !props.isHeavy() && cn_vaes_enabled) {
|
if (!SOFT_AES && !props.isHeavy() && ALGO != Algorithm::CN_GPU && cn_vaes_enabled) {
|
||||||
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[0], ctx[1], props.memory(), props.half_mem());
|
||||||
cn_implode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
cn_implode_scratchpad_vaes_double(ctx[2], ctx[3], props.memory(), props.half_mem());
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#define APP_ID "xmrig"
|
#define APP_ID "xmrig"
|
||||||
#define APP_NAME "XMRig"
|
#define APP_NAME "XMRig"
|
||||||
#define APP_DESC "XMRig miner"
|
#define APP_DESC "XMRig miner"
|
||||||
#define APP_VERSION "6.16.2-mo1"
|
#define APP_VERSION "6.16.2-mo2"
|
||||||
#define APP_DOMAIN "xmrig.com"
|
#define APP_DOMAIN "xmrig.com"
|
||||||
#define APP_SITE "www.xmrig.com"
|
#define APP_SITE "www.xmrig.com"
|
||||||
#define APP_COPYRIGHT "Copyright (C) 2016-2021 xmrig.com"
|
#define APP_COPYRIGHT "Copyright (C) 2016-2021 xmrig.com"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue