1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 00:33:33 -05:00

Fixed Cryptonight OpenCL for AMD 20.7.2 drivers

Vega 64 + Windows 10 + AMD 20.7.2 drivers were broken on Cryptonight algorithms.
This commit is contained in:
SChernykh
2020-09-19 23:12:05 +02:00
parent c7476e076b
commit 768a4581e0
2 changed files with 88 additions and 87 deletions

View File

@@ -899,7 +899,7 @@ __kernel void Blake(__global ulong *states, __global uint *BranchBuf, __global u
((uint8 *)h)[0] = vload8(0U, c_IV256);
for (uint i = 0; i < 3; ++i) {
for (volatile uint i = 0; i < 3; ++i) {
((uint16 *)m)[0] = vload16(i, (__global uint *)states);
for (uint x = 0; x < 16; ++x) {
m[x] = SWAP4(m[x]);