Skip to content

Fix Warping Operation - #357

Merged
morousg merged 1 commit into
mainfrom
356-fix-a-bug-in-warpingh
Aug 25, 2026
Merged

Fix Warping Operation#357
morousg merged 1 commit into
mainfrom
356-fix-a-bug-in-warpingh

Conversation

@morousg

@morousg morousg commented Aug 25, 2026

Copy link
Copy Markdown
Member

No description provided.

@morousg
morousg requested a lite review from Copilot August 25, 2026 18:12
@morousg morousg self-assigned this Aug 25, 2026
@morousg morousg linked an issue Aug 25, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the Warping ReadBack operation’s declared OutputType so it is derived from the upstream BackIOp’s actual output type rather than its original ReadDataType, aligning Warping’s type contract with what InterpolateComplete returns.

Changes:

  • Update Warping’s ReadBackOperation parent type to use cn<typename BackIOp_::Operation::OutputType> (instead of ReadDataType) when forming float_<...> output.
  • Prevent type mismatches when Warping is fused after a BackIOp that changes channel count/type (e.g., conversions/reductions before the warp).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@morousg
morousg merged commit 8e9c713 into main Aug 25, 2026
8 checks passed
@morousg
morousg deleted the 356-fix-a-bug-in-warpingh branch August 25, 2026 18:24
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.

Fix a bug in warping.h

2 participants