Done. Please let me know if the fix works.
Sure. Another one issue:
main.c: In function solve_equihash:
main.c:1024:28: warning: passing argument 3 of examine_ht from incompatible pointer type
examine_ht(round, queue, buf_ht, rowCounters[round % 2]);
^
main.c:530:6: note: expected cl_mem but argument is of type struct _cl_mem **
void examine_ht(unsigned round, cl_command_queue queue, cl_mem buf_ht)
^
main.c:1024:3: error: too many arguments to function examine_ht
examine_ht(round, queue, buf_ht, rowCounters[round % 2]);
^
main.c:530:6: note: declared here
void examine_ht(unsigned round, cl_command_queue queue, cl_mem buf_ht)
The same error within another function inside:
error: too many arguments to function examine_ht