diff --git a/OpenCL/rp.c b/OpenCL/rp.c index 4abd26d69..4c29dcd16 100644 --- a/OpenCL/rp.c +++ b/OpenCL/rp.c @@ -3,6 +3,10 @@ * License.....: MIT */ +u32 apply_rule (const u32 name, const u32 p0, const u32 p1, u32 buf0[4], u32 buf1[4], const u32 in_len); +u32 apply_rules (const __global u32 *cmds, u32 buf0[4], u32 buf1[4], const u32 len); +u32 apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, const __global kernel_rule_t *rules_buf, const u32 il_pos, u32x w0[4], u32x w1[4]); + static u32 generate_cmask (u32 buf) { const u32 rmask = ((buf & 0x40404040) >> 1)