Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPU] Fix Klockwork issue in loop_inst.h #7126

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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