1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 15:18:16 +00:00
hashcat/OpenCL/check_single_comp4.c
jsteube 0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
- Some performance on low-end GPU may drop because of that, but only for a few hash-modes
- Dropped scalar code (aka warp) since we do not have any vector datatypes anymore
- Renamed C++ overloading functions memcat32_9 -> memcat_c32_w4x4_a3x4
- Still need to fix kernels to new function names, needs to be done manually
- Temperature Management needs to be rewritten partially because of conflicting datatypes names
- Added code to create different codepaths for NV on AMD in runtime in host (see data.vendor_id)
- Added code to create different codepaths for NV on AMD in runtime in kernels (see IS_NV and IS_AMD)
- First tests working for -m 0, for example
- Great performance increases in general for NV so far
- Tested amp_* and markov_* kernel
- Migrated special NV optimizations for rule processor
2015-12-15 12:04:22 +01:00

15 lines
308 B
C

if ((r0 == search[0])
&& (r1 == search[1])
&& (r2 == search[2])
&& (r3 == search[3]))
{
const u32 final_hash_pos = digests_offset + 0;
if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
{
mark_hash (plains_buf, hashes_shown, final_hash_pos, gid, il_pos);
d_return_buf[lid] = 1;
}
}