Skip to content

added CUDA support for local extrema#291

Open
hzarei4 wants to merge 4 commits intoJuliaImages:masterfrom
hzarei4:master
Open

added CUDA support for local extrema#291
hzarei4 wants to merge 4 commits intoJuliaImages:masterfrom
hzarei4:master

Conversation

@hzarei4
Copy link
Copy Markdown

@hzarei4 hzarei4 commented Apr 23, 2026

Hello,

This PR adds CUDA support for local extrema on CuArrays through /ext/CUDASupportExt.jl.

It implements findlocalextrema for CUDA arrays, which in turn enables findlocalmaxima and findlocalminima with behavior aligned with the existing ImageFiltering.jl API. I also added CUDA tests based on the existing CPU extrema tests.

I hope this is helpful. Please let me know if anything should be corrected or improved.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

❌ Patch coverage is 0% with 91 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.42%. Comparing base (d3c2202) to head (8ebbd40).

Files with missing lines Patch % Lines
ext/CUDASupportExt.jl 0.00% 91 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #291      +/-   ##
==========================================
- Coverage   91.56%   86.42%   -5.15%     
==========================================
  Files          12       13       +1     
  Lines        1672     1672              
==========================================
- Hits         1531     1445      -86     
- Misses        141      227      +86     

☔ View full report in Codecov by Sentry.
📢 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.

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