From 8ab2e0e8d69837a059d54467f8a9fa63639aee2f Mon Sep 17 00:00:00 2001 From: Sungeun Kim Date: Tue, 17 Jan 2023 16:05:01 +0900 Subject: [PATCH] [GPU] bugfix: partial subgroup issue (#14845) Behavior is undefined if the subgroup size is smaller than the maximum subgroup size; in other words, if this is a partial subgroup. --- .../intel_gpu/src/kernel_selector/cl_kernels/resample_opt.cl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/resample_opt.cl b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/resample_opt.cl index 9f1a0212dd9..02131531a70 100644 --- a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/resample_opt.cl +++ b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/resample_opt.cl @@ -231,8 +231,6 @@ KERNEL (resample_opt)(__global INPUT0_TYPE* input, typedef IN_VEC_TYPE in_vec_t; typedef ACC_VEC_TYPE acc_vec_t; - if (feature_num >= OUTPUT_FEATURE_NUM) - return; #ifdef SAMPLE_TYPE_NEAREST unroll_for (uint out_x = 0; out_x < OUTPUT_X_BLOCK_SIZE; out_x++) {