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

Add sobel in hexagon benchmarks app for CMake builds #8127

Merged

Conversation

prasmish
Copy link
Contributor

@prasmish prasmish commented Feb 28, 2024

Adding sobel test back which was removed in PR #8069.
Previously, sobel test was not building correctly with the target host-hvx. The compilation errors were caused by the eliminate interleave pass, which changed the instruction from halide.hexagon.pack_satub.vuh to halide.hexagon.trunc_satub.vuh. The latter instruction is only available in v65 or later and host-hvx by default is v62. This commit ensures compatibility with v65 and later versions.

Resolved compilation errors caused by the eliminate interleave pass,
which changed the instruction from halide.hexagon.pack_satub.vuh to
halide.hexagon.trunc_satub.vuh. The latter is only available in v65 or
later. This commit ensures compatibility with v65 and later versions.
@steven-johnson
Copy link
Contributor

Failed: vshuffe(v*.b,v*.b) did not generate for target=hexagon-32-noos-hvx-hvx_128-hvx_v65 vector_width=128. Instead we got:

@prasmish
Copy link
Contributor Author

prasmish commented Mar 6, 2024

Failed: vshuffe(v*.b,v*.b) did not generate for target=hexagon-32-noos-hvx-hvx_128-hvx_v65 vector_width=128. Instead we got:

Fixed test failure due to my silly mistake in the patch.

@prasmish prasmish force-pushed the feature/sobel-hexagon-benchmarks branch from 2c90341 to 587a615 Compare March 6, 2024 12:53
Copy link
Contributor

@steven-johnson steven-johnson left a comment

Choose a reason for hiding this comment

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

LGTM pending greeen

@steven-johnson steven-johnson merged commit 22868a4 into halide:main Mar 6, 2024
19 checks passed
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.

2 participants