1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-05 14:59:37 +00:00
hashcat/OpenCL/amp_a3.cl

21 lines
483 B
Common Lisp
Raw Normal View History

2015-12-04 14:47:52 +00:00
/**
* Author......: See docs/credits.txt
2015-12-04 14:47:52 +00:00
* License.....: MIT
*/
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#endif
2015-12-04 14:47:52 +00:00
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)
2015-12-04 14:47:52 +00:00
{
const u64 gid = get_global_id (0);
2015-12-04 14:47:52 +00:00
if (gid >= gid_max) return;
const u32 w0r = bfs_buf[0].i;
pws[gid].i[0] |= w0r;
2015-12-04 14:47:52 +00:00
}