Skip to content

Commit

Permalink
fixed CVS-149659 coverity issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mhpanah committed Nov 14, 2024
1 parent fefe0c3 commit 7589359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
namespace ov {
namespace intel_gpu {

DynamicQuantizeFullyConnected::DynamicQuantizeFullyConnected(uint64_t group_size) {
DynamicQuantizeFullyConnected::DynamicQuantizeFullyConnected(uint64_t group_size)
: ov::pass::MatcherPass() { // Explicitly call the base class constructor{
GPU_DEBUG_GET_INSTANCE(debug_config);
using namespace ov::pass::pattern;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ IncreasePositionIdsPrecision::IncreasePositionIdsPrecision() {

auto rope = wrap_type<ov::op::internal::RoPE>({any_input(), rope_cos_input, rope_sin_input});

ov::matcher_pass_callback callback = [OV_CAPTURE_CPY_AND_THIS](ov::pass::pattern::Matcher& m) {
ov::matcher_pass_callback callback = [=, this](ov::pass::pattern::Matcher& m) {
const auto& pattern_map = m.get_pattern_value_map();

auto matmul_node = std::dynamic_pointer_cast<ov::op::v0::MatMul>(pattern_map.at(gemm_or_matmul).get_node_shared_ptr());
Expand Down

0 comments on commit 7589359

Please sign in to comment.