Skip to content

Fix CPU int64 Select and BitwiseAnd#35915

Open
pragnyanramtha wants to merge 1 commit into
openvinotoolkit:masterfrom
pragnyanramtha:fix-35892-int64-where-bitwiseand
Open

Fix CPU int64 Select and BitwiseAnd#35915
pragnyanramtha wants to merge 1 commit into
openvinotoolkit:masterfrom
pragnyanramtha:fix-35892-int64-where-bitwiseand

Conversation

@pragnyanramtha
Copy link
Copy Markdown

Details:

  • Preserve CPU i64 inputs for Select and BitwiseAnd through the precision conversion pipeline so constants are not converted to f64.
  • Keep generic oneDNN element-type conversion rejecting i64; use f64 only as an internal 8-byte CPU memory carrier while preserving logical descriptor precision.
  • Route i64 Select and BitwiseAnd through reference execution and disable JIT for those i64 cases.
  • Add CPU functional coverage for i64 Select, NUMPY broadcast Select, constant broadcast Select, and i64 BitwiseAnd.

Tickets:

Validation:

  • git diff --check
  • cmake --build build --target openvino_intel_cpu_plugin ov_cpu_func_tests -j2
  • cmake --build build --target ov_cpu_func_tests -j2
  • bin/intel64/Release/ov_cpu_func_tests --gtest_filter='smoke_CompareWithRefs_4D_Bitwise_i64/EltwiseLayerCPUTest.*:smoke_CompareWithRefs_i64/SelectLayerCPUTest.*:smoke_CompareWithRefs_i64_Broadcast/SelectLayerCPUTest.*:smoke_CompareWithRefs_i64_ConstBroadcast/SelectI64ConstLayerCPUTest.*' -> 7/7 passed
  • bin/intel64/Release/ov_cpu_func_tests --gtest_filter='*SelectLayerCPUTest*' --gtest_color=no -> 62 run, 47 passed, 15 skipped
  • bin/intel64/Release/ov_cpu_func_tests --gtest_filter='*Bitwise*' --gtest_color=no -> 536 run, 520 passed, 16 skipped

AI Assistance:

  • AI assistance used: yes
  • AI was used to prepare the code/test changes, inspect reviewer risk areas, run duplicate PR checks, and execute local validation. Human validation performed: local diff review, build/test verification, and issue/PR duplicate checks before publishing.

Signed-off-by: Codex <codex@openai.com>
@pragnyanramtha pragnyanramtha marked this pull request as ready for review May 15, 2026 08:43
@pragnyanramtha pragnyanramtha requested review from a team as code owners May 15, 2026 08:43
Copilot AI review requested due to automatic review settings May 15, 2026 08:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: OpenVINO CPU returns incorrect results for ONNX int64 Where and BitwiseAnd

3 participants