Skip to content
Snippets Groups Projects
Unverified Commit 7d6cd31b authored by fireice-uk's avatar fireice-uk Committed by GitHub
Browse files

Merge pull request #2132 from fireice-uk/dev

bug fix release 2.7.1
parents 70b81938 628ec8c1
No related branches found
No related tags found
No related merge requests found
...@@ -30,15 +30,16 @@ ...@@ -30,15 +30,16 @@
- CUDA/Runtime - CUDA/Runtime
- Driver components - Driver components
### AMD DRIVER/APP SDK 3.0 (only needed for AMD GPUs) ### AMD DRIVER/OCL-SDK (only needed for AMD GPUs)
- Download & install the AMD driver: https://www.amd.com/en/support - Download & install the AMD driver: https://www.amd.com/en/support
**ATTENTION** Many windows driver 18.5+ creating invalid shares. **ATTENTION** Many windows driver 18.5+ creating invalid shares.
If you have an issue with `invalid shares` please downgrade your driver. If you have an issue with `invalid shares` please downgrade your driver.
- Download and install the latest version from http://amd-dev.wpengine.netdna-cdn.com/app-sdk/installers/APPSDKInstaller/3.0.130.135-GA/full/AMD-APP-SDKInstaller-v3.0.130.135-GA-windows-F-x64.exe - Download and install the latest version of the OCL-SDK from https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases
(do not wonder why it is a link to a netdna-cdn.com but AMD has removed the SDK downloads, see https://community.amd.com/thread/222855)
Do not follow old information that you need the AMD APP SDK. AMD has removed the APP SDK and is now shipping the OCL-SDK_light.
### Dependencies OpenSSL/Hwloc and Microhttpd ### Dependencies OpenSSL/Hwloc and Microhttpd
- For CUDA 8*: - For CUDA 8*:
...@@ -115,4 +116,4 @@ If you have an issue with `invalid shares` please downgrade your driver. ...@@ -115,4 +116,4 @@ If you have an issue with `invalid shares` please downgrade your driver.
copy C:\xmr-stak-dep\openssl\bin\* . copy C:\xmr-stak-dep\openssl\bin\* .
``` ```
- Miner is by default compiled for NVIDIA GPUs (if CUDA is installed), AMD GPUs (if the AMD APP SDK is installed) and CPUs. - Miner is by default compiled for NVIDIA GPUs (if CUDA is installed), AMD GPUs (if the AMD OCL-SDK_light is installed) and CPUs.
...@@ -662,7 +662,7 @@ __kernel void JOIN(cn1,ALGO) (__global uint4 *Scratchpad, __global ulong *states ...@@ -662,7 +662,7 @@ __kernel void JOIN(cn1,ALGO) (__global uint4 *Scratchpad, __global ulong *states
((uint4 *)c)[0] = SCRATCHPAD_CHUNK(0); ((uint4 *)c)[0] = SCRATCHPAD_CHUNK(0);
// cryptonight_bittube2 // cryptonight_bittube2
#if(ALGO == 10) #if(ALGO == 10)
((uint4 *)c)[0] = AES_Round2(AES0, AES1, ~((uint4 *)c)[0], ((uint4 *)a)[0]); ((uint4 *)c)[0] = AES_Round2_bittube2(AES0, AES1, ~((uint4 *)c)[0], ((uint4 *)a)[0]);
#else #else
((uint4 *)c)[0] = AES_Round2(AES0, AES1, ((uint4 *)c)[0], ((uint4 *)a)[0]); ((uint4 *)c)[0] = AES_Round2(AES0, AES1, ((uint4 *)c)[0], ((uint4 *)a)[0]);
#endif #endif
......
...@@ -119,6 +119,19 @@ uint4 AES_Round2(const __local uint *AES0, const __local uint *AES1, const uint4 ...@@ -119,6 +119,19 @@ uint4 AES_Round2(const __local uint *AES0, const __local uint *AES1, const uint4
return key; return key;
} }
uint4 AES_Round2_bittube2(const __local uint *AES0, const __local uint *AES1, uint4 X, uint4 key)
{
key.s0 ^= AES0[BYTE(X.s0, 0)] ^ rotate(AES0[BYTE(X.s2, 2)] ^ AES1[BYTE(X.s3, 3)], 16u) ^ AES1[BYTE(X.s1, 1)];
X.s0 ^= key.s0;
key.s1 ^= AES0[BYTE(X.s1, 0)] ^ rotate(AES0[BYTE(X.s3, 2)] ^ AES1[BYTE(X.s0, 3)], 16u) ^ AES1[BYTE(X.s2, 1)];
X.s1 ^= key.s1;
key.s2 ^= AES0[BYTE(X.s2, 0)] ^ rotate(AES0[BYTE(X.s0, 2)] ^ AES1[BYTE(X.s1, 3)], 16u) ^ AES1[BYTE(X.s3, 1)];
X.s2 ^= key.s2;
key.s3 ^= AES0[BYTE(X.s3, 0)] ^ rotate(AES0[BYTE(X.s1, 2)] ^ AES1[BYTE(X.s2, 3)], 16u) ^ AES1[BYTE(X.s0, 1)];
return key;
}
#endif #endif
)===" )==="
...@@ -48,7 +48,7 @@ GPUCONFIG ...@@ -48,7 +48,7 @@ GPUCONFIG
* WARNING: experimental option * WARNING: experimental option
* *
* 0 = disable auto tuning * 0 = disable auto tuning
* 10 or higher = recommended value if you not already know the best intensity * 10 or higher = recommended value if you don't already know the best intensity
*/ */
"auto_tune" : 0, "auto_tune" : 0,
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#endif #endif
#define XMR_STAK_NAME "xmr-stak" #define XMR_STAK_NAME "xmr-stak"
#define XMR_STAK_VERSION "2.7.0" #define XMR_STAK_VERSION "2.7.1"
#if defined(_WIN32) #if defined(_WIN32)
#define OS_TYPE "win" #define OS_TYPE "win"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment