diff --git a/inference-engine/thirdparty/clDNN/src/include/loop_inst.h b/inference-engine/thirdparty/clDNN/src/include/loop_inst.h index c63df1a06e8971..a6a8e5785401b9 100644 --- a/inference-engine/thirdparty/clDNN/src/include/loop_inst.h +++ b/inference-engine/thirdparty/clDNN/src/include/loop_inst.h @@ -381,39 +381,39 @@ class typed_primitive_inst : public typed_primitive_inst_base { size_t total_bytes; backedge_memory_mapping( - std::shared_ptr from_primitive, std::shared_ptr to_primitive, - std::vector from_mems, memory::ptr initial_mem, cldnn::stream& stream, backedge_type type = CONCAT_OUTPUT): - from_primitive(from_primitive), - to_primitive(to_primitive), - from_mems(from_mems), - initial_mem(initial_mem), - stream(stream), - type(type), + std::shared_ptr _from_primitive, std::shared_ptr _to_primitive, + std::vector _from_mems, memory::ptr _initial_mem, cldnn::stream& _stream, backedge_type _type = CONCAT_OUTPUT): + from_primitive(_from_primitive), + to_primitive(_to_primitive), + from_mems(_from_mems), + initial_mem(_initial_mem), + stream(_stream), + type(_type), total_bytes(initial_mem->get_layout().bytes_count()) { validate_backedge_memory(); } backedge_memory_mapping( - std::shared_ptr from_primitive, std::shared_ptr to_primitive, - memory::ptr from_mem, memory::ptr initial_mem, cldnn::stream& stream, backedge_type type = SINGLE_SHARED): - from_primitive(from_primitive), - to_primitive(to_primitive), - from_mems{from_mem}, - initial_mem(initial_mem), - stream(stream), - type(type), + std::shared_ptr _from_primitive, std::shared_ptr _to_primitive, + memory::ptr _from_mem, memory::ptr _initial_mem, cldnn::stream& _stream, backedge_type _type = SINGLE_SHARED): + from_primitive(_from_primitive), + to_primitive(_to_primitive), + from_mems{_from_mem}, + initial_mem(_initial_mem), + stream(_stream), + type(_type), total_bytes(initial_mem->get_layout().bytes_count()) { validate_backedge_memory(); } backedge_memory_mapping( - std::shared_ptr from_primitive, std::shared_ptr to_primitive, - memory::ptr initial_mem, cldnn::stream& stream, backedge_type type = SINGLE): - from_primitive(from_primitive), - to_primitive(to_primitive), - initial_mem(initial_mem), - stream(stream), - type(type), + std::shared_ptr _from_primitive, std::shared_ptr _to_primitive, + memory::ptr _initial_mem, cldnn::stream& _stream, backedge_type _type = SINGLE): + from_primitive(_from_primitive), + to_primitive(_to_primitive), + initial_mem(_initial_mem), + stream(_stream), + type(_type), total_bytes(initial_mem->get_layout().bytes_count()) { validate_backedge_memory(); }