-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[CPU]JIRA 93714 fix CPU plugin warning after remove wd4309 wd4018 #15961
[CPU]JIRA 93714 fix CPU plugin warning after remove wd4309 wd4018 #15961
Conversation
1c35ee6
to
bbe7888
Compare
src/plugins/intel_cpu/src/ngraph_transformations/align_matmul_input_ranks.cpp
Show resolved
Hide resolved
Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
dnnl::memory::dims base value type is int64_t; All compare data up to int64_t can fix warning and there is potential issue. Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
Must pass same value type. Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
using ov::Dimension::value_type = int64_t using ov::intel_cpu::StaticDimension::value_type = size_t All up to int64. Signed-off-by: Yan, Xiping <[email protected]>
Complete windows sign-compare firstly. Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
Because instantiate T1=unsigned int, T2=int Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
Signed-off-by: Yan, Xiping <[email protected]>
f429d86
to
7af1009
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 Thx!
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.
CPU part LGTM
Hi @ilya-lavrenov , Do you have some comments about this PR? If not, coudl you help merge it, or forward to others, because Linux sign-compare issue needs this PR as base. |
…envinotoolkit#15961) * Remove warning suppression: wd4018, wd4309 Signed-off-by: Yan, Xiping <[email protected]> * Remove linux warning suppression no-sign-compare Signed-off-by: Yan, Xiping <[email protected]> * ov::intel_cpu::VectorDims base value type is size_t; dnnl::memory::dims base value type is int64_t; All compare data up to int64_t can fix warning and there is potential issue. Signed-off-by: Yan, Xiping <[email protected]> * channelAxis maybe == -1; means: no exist any more. Signed-off-by: Yan, Xiping <[email protected]> * Fix recursive macro: "one_of", "everyone_is" sign-compare warning. Must pass same value type. Signed-off-by: Yan, Xiping <[email protected]> * Fix Windows sign unsign compare warning Signed-off-by: Yan, Xiping <[email protected]> * There are 2 instances: using ov::Dimension::value_type = int64_t using ov::intel_cpu::StaticDimension::value_type = size_t All up to int64. Signed-off-by: Yan, Xiping <[email protected]> * linux have too many sign-compare issue. Complete windows sign-compare firstly. Signed-off-by: Yan, Xiping <[email protected]> * Fix clang issues. Signed-off-by: Yan, Xiping <[email protected]> * Fix warning. Because instantiate T1=unsigned int, T2=int Signed-off-by: Yan, Xiping <[email protected]> * Fix warning for tests unit reorder_node_test.cpp Signed-off-by: Yan, Xiping <[email protected]> * Fix warning : ASSERT_GE(step, 1u); Signed-off-by: Yan, Xiping <[email protected]> * Fix tests: warning C4018 Signed-off-by: Yan, Xiping <[email protected]> * Remove auto, using int64_t is more reasonable. Signed-off-by: Yan, Xiping <[email protected]> --------- Signed-off-by: Yan, Xiping <[email protected]>
Details:
Tickets: