1
mirror of https://github.com/hashcat/hashcat synced 2024-09-05 22:08:58 +02:00
hashcat/OpenCL/amp_a3.cl

20 lines
493 B
Common Lisp
Raw Normal View History

2015-12-04 15:47:52 +01:00
/**
* Author......: See docs/credits.txt
2015-12-04 15:47:52 +01:00
* License.....: MIT
*/
#include "inc_hash_constants.h"
#include "inc_vendor.cl"
#include "inc_types.cl"
2015-12-04 15:47:52 +01:00
__kernel void amp (__global pw_t *pws, __global pw_t *pws_amp, __global const kernel_rule_t *rules_buf, __global const comb_t *combs_buf, __global const bf_t *bfs_buf, const u32 combs_mode, const u32 gid_max)
2015-12-04 15:47:52 +01:00
{
const u32 gid = get_global_id (0);
if (gid >= gid_max) return;
const u32 w0r = bfs_buf[0].i;
pws_amp[gid].i[0] |= w0r;
2015-12-04 15:47:52 +01:00
}