Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update on_architecture for MetalGPU to specifically target StepRangeLen{FT, Float64, Float64}#5375

Merged
navidcy merged 5 commits into
mainfrom
glwagner-patch-2
Jun 24, 2026
Merged

Update on_architecture for MetalGPU to specifically target StepRangeLen{FT, Float64, Float64}#5375
navidcy merged 5 commits into
mainfrom
glwagner-patch-2

Conversation

@glwagner

@glwagner glwagner commented Mar 6, 2026

Copy link
Copy Markdown
Member

This PR fixes a potential bug in on_architecture whereby low precision StepRangeLen would be promoted to Float32.

@loisbaker you can incorporate this into your PR if you like.

Convert StepRangeLen with Float64 to Float32 for Metal architecture
@glwagner glwagner changed the title Update on_architecture for MetalGPU to handle Float32 Update on_architecture for MetalGPU to specifically target StepRangeLen{Float32, Float64, Float64} Mar 6, 2026
@glwagner glwagner changed the title Update on_architecture for MetalGPU to specifically target StepRangeLen{Float32, Float64, Float64} Update on_architecture for MetalGPU to specifically target StepRangeLen{Float32, Float64, Float64} Mar 6, 2026
@glwagner glwagner changed the title Update on_architecture for MetalGPU to specifically target StepRangeLen{Float32, Float64, Float64} Update on_architecture for MetalGPU to specifically target StepRangeLen{FT, Float64, Float64} Mar 6, 2026
@codecov

codecov Bot commented Mar 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 73.97%. Comparing base (169ab1a) to head (9d3d35a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
ext/OceananigansMetalExt.jl 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5375      +/-   ##
==========================================
- Coverage   73.97%   73.97%   -0.01%     
==========================================
  Files         418      418              
  Lines       25263    25263              
==========================================
- Hits        18689    18688       -1     
- Misses       6574     6575       +1     
Flag Coverage Δ
buildkite 68.61% <0.00%> (-0.01%) ⬇️
julia 68.61% <0.00%> (-0.01%) ⬇️
reactant_1 6.02% <0.00%> (ø)
reactant_2 10.78% <0.00%> (ø)
reactant_3 9.18% <0.00%> (ø)

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@navidcy

navidcy commented Jun 24, 2026

Copy link
Copy Markdown
Member

CI passes; I'm merging

@navidcy navidcy merged commit f3d56a7 into main Jun 24, 2026
89 of 90 checks passed
@navidcy navidcy deleted the glwagner-patch-2 branch June 24, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants