From a18c19e654483b547bbe791d0640eceef4ef2e79 Mon Sep 17 00:00:00 2001 From: Roy Oursler Date: Mon, 3 Apr 2023 12:42:58 -0700 Subject: [PATCH] gpu: ocl: remove ref_convolution SUB_GROUP_SIZE define The value conf.sub_group_size is never initialized. --- src/gpu/ocl/ref_convolution.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gpu/ocl/ref_convolution.cpp b/src/gpu/ocl/ref_convolution.cpp index 0c44dde7c3c..6dfafa88149 100644 --- a/src/gpu/ocl/ref_convolution.cpp +++ b/src/gpu/ocl/ref_convolution.cpp @@ -117,7 +117,6 @@ static status_t init_kernel_ctx_common(compute::kernel_ctx_t &kernel_ctx, kernel_ctx.define_int("DH", conf.dilate_h); kernel_ctx.define_int("DW", conf.dilate_w); kernel_ctx.define_int("WITH_BIAS", conf.with_bias); - kernel_ctx.define_int("SUB_GROUP_SIZE", conf.sub_group_size); kernel_ctx.define_int("IS_FWD", utils::one_of(conf.prop_kind, prop_kind::forward_inference,