Repository navigation
Support FLOAT64 in CUDA AffineGrid - #2636
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2636 +/- ##
=======================================
Coverage 68.20% 68.20%
=======================================
Files 9 9
Lines 3639 3639
Branches 3639 3639
=======================================
Hits 2482 2482
Misses 1048 1048
Partials 109 109
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
justinchuby
force-pushed
the
justinchuby-cuda-affinegrid-double-precision
branch
from
November 26, 2026 23:43
23d0a68 to
ca177b2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add native double precision to CUDA and CPU
AffineGrid-20without changing the existing f32/f16/bf16 accumulation path.Motivation
ONNX AffineGrid-20 allows
tensor(double), which the CUDA provider rejected.Decisions made
Use one CUDA dtype classifier for claim and launch. Compute double coordinates and affine products in f64 and write f64 directly.
Examples or additional notes
A strict CUDA fixture compares 2-D and 3-D grids with both
align_cornerssettings against a separate CPU reference and an explicit f64 oracle. Formatting andgit show --checkpassed; native execution was not run in this session.