-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[GPU] Fix coverity issues #32457
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 coverity issues #32457
Conversation
| cldnn::mem_lock<uint8_t> dst_lock(merged_memory, stream); | ||
| for (size_t i = 0; i < user_tensors.size(); i++) { | ||
| auto input_tensor = std::dynamic_pointer_cast<RemoteTensorImpl>(user_tensors[i]._ptr); | ||
| OPENVINO_ASSERT(input_tensor != nullptr, "[GPU] Failed to cast user tensor to RemoteTensorImpl"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks redundant,
bool is_remote_buffer = all_remote_buffers(user_tensors); - checked at line 699. It is better to mark as false positive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Marked it as false positive.
dd0a66c to
678a8a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Details:
Tickets: