1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-30 18:39:15 +00:00
hashcat/OpenCL/amp_a3.cl
Jens Steube 4e0a728f8f Add HC_ATTR_SEQ as a workaround, since HIP no longer
supports compiler option --gpu-max-threads-per-block
2025-06-12 09:17:02 +02:00

23 lines
433 B
Common Lisp

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifdef KERNEL_STATIC
#include M2S(INCLUDE_PATH/inc_vendor.h)
#include M2S(INCLUDE_PATH/inc_types.h)
#include M2S(INCLUDE_PATH/inc_platform.cl)
#include M2S(INCLUDE_PATH/inc_amp.h)
#endif
KERNEL_FQ void HC_ATTR_SEQ amp (KERN_ATTR_AMP)
{
const u64 gid = get_global_id (0);
if (gid >= gid_max) return;
const u32 w0r = bfs_buf[0].i;
pws[gid].i[0] |= w0r;
}