From a5659d5619e56678c2680983e070797db46145e7 Mon Sep 17 00:00:00 2001 From: jsteube <jens.steube@gmail.com> Date: Wed, 23 Aug 2017 12:46:14 +0200 Subject: [PATCH] Also switch optimized kernels rule engine to make use of kernel rules in constant memory --- OpenCL/inc_rp_optimized.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCL/inc_rp_optimized.cl b/OpenCL/inc_rp_optimized.cl index 6497aa5ad..1db011169 100644 --- a/OpenCL/inc_rp_optimized.cl +++ b/OpenCL/inc_rp_optimized.cl @@ -2547,7 +2547,7 @@ static u32 apply_rules (__constant const u32 *cmds, u32 buf0[4], u32 buf1[4], co return out_len; } -static u32x apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, __global const kernel_rule_t *rules_buf, const u32 il_pos, u32x buf0[4], u32x buf1[4]) +static u32x apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, __constant const kernel_rule_t *rules_buf, const u32 il_pos, u32x buf0[4], u32x buf1[4]) { #if VECT_SIZE == 1