Skip to content

Support FLOAT64 in CUDA AffineGrid - #2636

Merged
justinchuby merged 1 commit into
mainfrom
justinchuby-cuda-affinegrid-double-precision
Nov 27, 2026
Merged

justinchuby merged 1 commit into
mainfrom
justinchuby-cuda-affinegrid-double-precision

Conversation

@justinchuby

Copy link
Copy Markdown
Owner

Summary

Add native double precision to CUDA and CPU AffineGrid-20 without 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_corners settings against a separate CPU reference and an explicit f64 oracle. Formatting and git show --check passed; native execution was not run in this session.


  • Check this box if a human author has reviewed the PR (optional)

@codecov

codecov Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.20%. Comparing base (961b534) to head (23d0a68).
⚠️ Report is 31 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           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           
Flag Coverage Δ
cli-ort-linux 68.12% <ø> (ø)
cli-ort-windows 67.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@justinchuby
justinchuby force-pushed the justinchuby-cuda-affinegrid-double-precision branch from 23d0a68 to ca177b2 Compare November 26, 2026 23:43
@justinchuby
justinchuby added this pull request to stack #2830 November 27, 2026 02:22
@justinchuby
justinchuby merged commit 1e89d35 into main Nov 27, 2026
10 of 19 checks passed
@justinchuby
justinchuby deleted the justinchuby-cuda-affinegrid-double-precision branch November 27, 2026 02:23
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.

1 participant