You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
I haven't tested this, but in theory you could edit profanity.cl and replace profanity_result_update:
voidprofanity_result_update(constsize_t id, __global const uchar * const hash, __global result * const pResult, const uchar score, const uchar scoreMax) {
if (score && score > scoreMax) {
//uchar hasResult = atomic_inc(&pResult[score].found); // NOTE: If "too many" results are found it'll wrap around to 0 again and overwrite last result. Only relevant if global worksize exceeds MAX(uint).// Save only one result for each score, the first.//if (hasResult == 0) {
pResult[score].foundId = id;
for (int i = 0; i < 20; ++i) {
pResult[score].foundHash[i] = hash[i];
}
//}
}
}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
for example, keep outputting at score=15 until score=16 is achieved
The text was updated successfully, but these errors were encountered: