diff --git a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/mvn_gpu_bfyx_opt.cl b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/mvn_gpu_bfyx_opt.cl index 350cc0493a09c8..2f438bccd4cc74 100644 --- a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/mvn_gpu_bfyx_opt.cl +++ b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/mvn_gpu_bfyx_opt.cl @@ -25,25 +25,23 @@ KERNEL (mvn_gpu_bfyx_opt)( const uint data_set_offset = data_set_idx * data_set_size; const uint my_data_offset = data_set_offset + in_data_set_idx; + uint iters_num = items_num; + if (in_data_set_idx < leftovers) + ++iters_num; float my_sum = 0; float tmp; //each WI reads items_num consecutive items from batch*feature - for (uint i=0; i