Skip to content

Commit

Permalink
Merge pull request #259 from fancyIX/feature/#247
Browse files Browse the repository at this point in the history
Feature/#247
  • Loading branch information
fancyIX committed Dec 14, 2021
2 parents ef5f3ee + 88f276c commit 1d7ea3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kernel/heavyhash.cl
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,13 @@ __kernel void search(__constant uint *header, __constant uchar* gmatrix, __globa
vector[(2*i+1)] = ((uchar *) pdata)[i] & 0xF;
}

#if defined(__gfx803__) || defined(__Ellesmere__) || defined(__Iceland__)
volatile uint sum = 0;
volatile uint sum2 = 0;
#else
uint sum = 0;
uint sum2 = 0;
#endif
for (int i = 0; i < 32; ++i) {
sum = 0;
#pragma unroll
Expand Down

0 comments on commit 1d7ea3b

Please sign in to comment.