Skip to content

Commit

Permalink
[GPU] Fixed 'assigned to self' error in loop_inst.h (openvinotoolkit#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnyoung-paul authored and mryzhov committed Aug 23, 2021
1 parent 5eeaf02 commit 4ae00dc
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions inference-engine/thirdparty/clDNN/src/include/loop_inst.h
Original file line number Diff line number Diff line change
Expand Up @@ -381,39 +381,39 @@ class typed_primitive_inst<loop> : public typed_primitive_inst_base<loop> {
size_t total_bytes;

backedge_memory_mapping(
std::shared_ptr<primitive_inst> from_primitive, std::shared_ptr<primitive_inst> to_primitive,
std::vector<memory::ptr> 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<primitive_inst> _from_primitive, std::shared_ptr<primitive_inst> _to_primitive,
std::vector<memory::ptr> _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<primitive_inst> from_primitive, std::shared_ptr<primitive_inst> 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<primitive_inst> _from_primitive, std::shared_ptr<primitive_inst> _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<primitive_inst> from_primitive, std::shared_ptr<primitive_inst> 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<primitive_inst> _from_primitive, std::shared_ptr<primitive_inst> _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();
}
Expand Down

0 comments on commit 4ae00dc

Please sign in to comment.