From e0039ca3182ee20301dc8e529fdaff8c9a0dc450 Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 11 Feb 2019 01:47:30 +0700 Subject: [PATCH] Removed volatile (again), has issues with cn-pico and 18.50 driver. --- src/amd/opencl/cryptonight.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/opencl/cryptonight.cl b/src/amd/opencl/cryptonight.cl index a94bd921..9e1ad5bf 100644 --- a/src/amd/opencl/cryptonight.cl +++ b/src/amd/opencl/cryptonight.cl @@ -1772,7 +1772,7 @@ __kernel void Groestl(__global ulong *states, __global uint *BranchBuf, __global states += 25 * BranchBuf[idx]; ulong State[8] = { 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0x0001000000000000UL }; - volatile ulong H[8], M[8]; + ulong H[8], M[8]; for (uint i = 0; i < 3; ++i) { ((ulong8 *)M)[0] = vload8(i, states);