diff --git a/src/plugins/intel_cpu/src/nodes/kernels/gather_uni_kernel.hpp b/src/plugins/intel_cpu/src/nodes/kernels/gather_uni_kernel.hpp index 5cb637906c9..49642607d02 100644 --- a/src/plugins/intel_cpu/src/nodes/kernels/gather_uni_kernel.hpp +++ b/src/plugins/intel_cpu/src/nodes/kernels/gather_uni_kernel.hpp @@ -91,9 +91,9 @@ struct jitGatherKernelBase { protected: jGatherConfParams jcp; - uint64_t vlen; - uint64_t dataElPerVec; - uint64_t idxElPerVec; + uint64_t vlen = 0lu; + uint64_t dataElPerVec = 0lu; + uint64_t idxElPerVec = 0lu; static const unsigned shufMask8bitUni[16]; static const unsigned permMask8bitA2[8]; static const unsigned permMask8bitA5[16]; diff --git a/src/plugins/intel_cpu/src/nodes/mkldnn_gather_node.h b/src/plugins/intel_cpu/src/nodes/mkldnn_gather_node.h index 09b5b686c79..72e074328e8 100644 --- a/src/plugins/intel_cpu/src/nodes/mkldnn_gather_node.h +++ b/src/plugins/intel_cpu/src/nodes/mkldnn_gather_node.h @@ -63,19 +63,19 @@ private: static constexpr uint64_t idxTypeSize = sizeof(int); int axis = 0; - int axisDim; + int axisDim = 0; int batchDims = 0; int dataSrcRank = 1; - uint64_t specIndicesSize; - uint64_t beforeBatchSize; - uint64_t beforeAxisSize; - uint64_t betweenBatchAndAxisSize; + uint64_t specIndicesSize = 0lu; + uint64_t beforeBatchSize = 0lu; + uint64_t beforeAxisSize = 0lu; + uint64_t betweenBatchAndAxisSize = 0lu; uint64_t afterAxisSize = 0lu; uint64_t afterAxisSizeInBytes = 0lu; uint64_t axisAndAfterAxisSizeInBytes = 0lu; uint64_t srcAfterBatchSizeInBytes = 0lu; uint64_t specIdxAndAfterAxSizeB = 0lu; - uint64_t totalWork; + uint64_t totalWork = 0lu; std::vector execParamsPerThread;