All the logic lies on clock.cu
Remove int qy0x, ... int qy2x
//is Y odd or even ?
//int qy0x = 0;
//if (qy[0] % 2) { qy0x = 1; };
//int qy1x = 0;
//if (qy2[0] % 2) { qy1x = 1; };
//int qy2x = 0;
//if (qy3[0] % 2) { qy2x = 1; };
//we take the result and calculate hash160
// changes 1
// uint8_t isOdd = (uint8_t)(py[0] & 1) // bit operations are enclosed in parentheses
_GetHash160Comp(qx, (uint8_t)(qy[0] & 1), hash160);// _GetHash160Comp(qx, (uint8_t)(qy0x), hash160);
_GetHash160Comp(qx2, (uint8_t)(qy2[0] & 1), hash1602);// _GetHash160Comp(qx2, (uint8_t)(qy1x), hash1602);
_GetHash160Comp(qx3, (uint8_t)(qy3[0] & 1), hash1603);// _GetHash160Comp(qx3, (uint8_t)(qy2x), hash1603);
Cuda Secp256k1 Point Multiplication - Takes 32-byte privKey.
And if more than 32 bits ? This function needs to be redone.