Hello Krnlx,
can you please post the complete kernel.cu somehow your snippets aren't as complete as I thought on first spot.Getting this error:
Error 3 error : no operator "^" matches these operands X:\Mining\sources\nheqminer-cuda-silentarmy\cuda_silentarmy\kernel.cu 496 1 cuda_silentarmy
uint4 loada = *(__global uint4 *)((__global char *)a + 4);
uint4 loadb = *(__global uint4 *)((__global char *)b + 4);
uint4 stor = loada ^ loadb;
Or wasn't it supposed for your cuda port?