Skip to content

Add floating-point atomic add/sub and min/max intrinsics#453

Open
michel2323 wants to merge 1 commit into
JuliaGPU:mainfrom
michel2323:atomic-float-ops
Open

Add floating-point atomic add/sub and min/max intrinsics#453
michel2323 wants to merge 1 commit into
JuliaGPU:mainfrom
michel2323:atomic-float-ops

Conversation

@michel2323

@michel2323 michel2323 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Float32 atomic_add!/atomic_sub! emit OpenCL-style builtins that lower to the SPV_EXT_shader_atomic_float_add EXT instructions. Float64 atomic add, and float min/max for both types, use cmpxchg fallbacks since the corresponding native extensions aren't available in the oneAPI set.

Float32 atomic_add!/atomic_sub! emit OpenCL-style builtins that lower to
the SPV_EXT_shader_atomic_float_add EXT instructions. Float64 atomic add,
and float min/max for both types, use cmpxchg fallbacks since the
corresponding native extensions aren't available in the LTS set.
@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.62%. Comparing base (45a91e3) to head (4257d40).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #453   +/-   ##
=======================================
  Coverage   80.62%   80.62%           
=======================================
  Files          13       13           
  Lines         898      898           
=======================================
  Hits          724      724           
  Misses        174      174           

☔ 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.

@michel2323

Copy link
Copy Markdown
Member Author

The errors come from #452

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