KawPow fix for retarted AMD OpenCL compiler

This commit is contained in:
SChernykh 2020-05-28 20:27:25 +02:00
parent fb0ce0bf61
commit 734f142b47
2 changed files with 3 additions and 3 deletions

View file

@ -201,8 +201,8 @@ __kernel void progpow_search(__global dag_t const* g_dag, __global uint* job_blo
// initialize mix for all lanes
fill_mix(share[group_id].uint32s, lane_id, mix);
#pragma unroll 1
for (uint32_t loop = 0; loop < PROGPOW_CNT_DAG; ++loop)
#pragma unroll 2
for (uint32_t loop = 0; loop < PROGPOW_CNT_DAG; ++loop)
{
// global load
if(lane_id == (loop % PROGPOW_LANES))