You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hashcat/OpenCL/amp_a3.cl

22 lines
510 B

9 years ago
/**
* Author......: See docs/credits.txt
9 years ago
* License.....: MIT
*/
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#endif
9 years ago
KERNEL_FQ void amp (GLOBAL_AS pw_t *pws, GLOBAL_AS pw_t *pws_amp, GLOBAL_AS const kernel_rule_t *rules_buf, GLOBAL_AS const pw_t *combs_buf, CONSTANT_AS bf_t *bfs_buf, const u32 combs_mode, const u64 gid_max)
9 years ago
{
const u64 gid = get_global_id (0);
9 years ago
if (gid >= gid_max) return;
const u32 w0r = bfs_buf[0].i;
pws[gid].i[0] |= w0r;
9 years ago
}