From df5d67da6a7a2eb6f3d58133e43107ffb587132b Mon Sep 17 00:00:00 2001 From: Sergey Shlyapnikov Date: Thu, 1 Aug 2024 16:18:16 +0400 Subject: [PATCH] Fix input indexes --- .../src/kernel_selector/kernels/rope/rope_kernel_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_gpu/src/kernel_selector/kernels/rope/rope_kernel_base.cpp b/src/plugins/intel_gpu/src/kernel_selector/kernels/rope/rope_kernel_base.cpp index d0cf13906f2bb6..130959ca130df7 100644 --- a/src/plugins/intel_gpu/src/kernel_selector/kernels/rope/rope_kernel_base.cpp +++ b/src/plugins/intel_gpu/src/kernel_selector/kernels/rope/rope_kernel_base.cpp @@ -63,7 +63,7 @@ JitConstants RoPEKernelBase::GetJitConstants(const rope_params& params, RoPEKern jit.AddConstant(MakeJitConstant("TRANSPOSED_INPUT0_BATCH_PITCH", "INPUT0_BATCH_PITCH")); } - if (params.inputs[0].has_dynamic_pad() || params.inputs[1].has_dynamic_pad()) { + if (params.inputs[1].has_dynamic_pad() || params.inputs[2].has_dynamic_pad()) { jit.AddConstant(MakeJitConstant("SIN_COS_HAVE_DYNAMIC_PADDINGS", true)); }