diff --git a/xmrstak/backend/amd/amd_gpu/opencl/cryptonight.cl b/xmrstak/backend/amd/amd_gpu/opencl/cryptonight.cl index ea07d6a8b2c4c84299b45ec666968e62e77f4930..53394037bb682b7412f6c39c4300d81c2a2d3f4e 100644 --- a/xmrstak/backend/amd/amd_gpu/opencl/cryptonight.cl +++ b/xmrstak/backend/amd/amd_gpu/opencl/cryptonight.cl @@ -347,8 +347,11 @@ XMRSTAK_INCLUDE_JH XMRSTAK_INCLUDE_BLAKE256 //#include "opencl/groestl256.cl" XMRSTAK_INCLUDE_GROESTL256 -//#include "opencl/cryptonight_gpu.cl" -XMRSTAK_INCLUDE_CN_GPU + +#if (ALGO == 13) + //#include "opencl/cryptonight_gpu.cl" + XMRSTAK_INCLUDE_CN_GPU +#endif )===" R"===( @@ -789,7 +792,7 @@ __kernel void JOIN(cn1,ALGO) (__global uint4 *Scratchpad, __global ulong *states ((uint4 *)a)[0] ^= tmp; // cryptonight_monero_v8 -#if (ALGO == 11 || ALGO==13) +#if (ALGO == 11 || ALGO==14) # if defined(__NV_CL_C_VERSION) // flush shuffled data SCRATCHPAD_CHUNK_GLOBAL = *scratchpad_line; diff --git a/xmrstak/backend/amd/amd_gpu/opencl/fast_int_math_v2.cl b/xmrstak/backend/amd/amd_gpu/opencl/fast_int_math_v2.cl index 4205a67c36922baa4f3df914d12af8939e39d74c..93e304aee3d316661b6f7dd1b211a7f498efb696 100644 --- a/xmrstak/backend/amd/amd_gpu/opencl/fast_int_math_v2.cl +++ b/xmrstak/backend/amd/amd_gpu/opencl/fast_int_math_v2.cl @@ -4,7 +4,7 @@ R"===( */ // cryptonight_monero_v8 -#if(ALGO==11 || ALGO==13) +#if(ALGO==11 || ALGO==14) static const __constant uint RCP_C[256] = {