From dd6fe11dd65766ebf5b904f37229273e00d8ca0c Mon Sep 17 00:00:00 2001 From: Taylor Yeonbok Lee Date: Sun, 1 Dec 2024 14:39:26 +0900 Subject: [PATCH] fix lint error --- .../fully_connected/fully_connected_kernel_bf_tiled.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/intel_gpu/src/kernel_selector/kernels/fully_connected/fully_connected_kernel_bf_tiled.cpp b/src/plugins/intel_gpu/src/kernel_selector/kernels/fully_connected/fully_connected_kernel_bf_tiled.cpp index 9dc6becc56b660..a6273bbfa428c1 100644 --- a/src/plugins/intel_gpu/src/kernel_selector/kernels/fully_connected/fully_connected_kernel_bf_tiled.cpp +++ b/src/plugins/intel_gpu/src/kernel_selector/kernels/fully_connected/fully_connected_kernel_bf_tiled.cpp @@ -178,7 +178,7 @@ static bool is_swiglu_fused(const fully_connected_params& params) { } static bool is_suitable_outer_ofm(const fully_connected_params& params, size_t output_f) { if (is_swiglu_fused(params)) - return true;;; + return true; size_t min_num_threads = params.engineInfo.computeUnitsCount * simd; return (params.weights.OFM().v > params.weights.IFM().v * 6 && output_f / 8 /* tile_ofm=4 and outer_ofm=2 */ > min_num_threads * 1.5); @@ -461,9 +461,8 @@ FullyConnected_bf_tiled::GetAutoTuneParams(const fully_connected_params& params, } } else { // Try to use SLM kernels if possible - size_t forced_outer_ofm = swiglu_fused ? 2 : 1; + unsigned int forced_outer_ofm = swiglu_fused ? 2 : 1; if (preferred_kernel_type != KernelType::DEFAULT) { -// if (params.is_shape_agnostic && !should_dynamic_quantize(params) && !swiglu_fused) { if (params.is_shape_agnostic && !should_dynamic_quantize(params)) { selector.Case(tune_params(16, 2, 2, 4, forced_outer_ofm, 1, 1, EXE_MODE_DEFAULT, KernelType::SLM)) .Case(tune_params(16, 2, 1, 4, forced_outer_ofm, 1, 1, EXE_MODE_DEFAULT, KernelType::SLM));