Skip to content

arch: Infer memory limits - #3138

Merged
FabioLuporini merged 11 commits into
mainfrom
fix/cuda-baseline-runtime
Dec 4, 2026
Merged

FabioLuporini merged 11 commits into
mainfrom
fix/cuda-baseline-runtime

Conversation

@FabioLuporini

Copy link
Copy Markdown
Contributor

No description provided.

@FabioLuporini FabioLuporini added arch jitting, archinfo, ... no-pro-trigger Skip the devitopro submodule update on merge labels Dec 3, 2026
@codecov

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.61111% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.05%. Comparing base (bbf8169) to head (75c2997).

Files with missing lines Patch % Lines
devito/arch/limits.py 97.67% 2 Missing ⚠️
devito/operator/operator.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3138      +/-   ##
==========================================
+ Coverage   83.99%   84.05%   +0.05%     
==========================================
  Files         261      263       +2     
  Lines       60017    60232     +215     
  Branches     5065     5087      +22     
==========================================
+ Hits        50413    50626     +213     
- Misses       8760     8762       +2     
  Partials      844      844              
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.16% <20.45%> (-0.10%) ⬇️
pytest-gpu-gcc- 78.86% <98.61%> (+0.07%) ⬆️
pytest-gpu-icx- 78.79% <98.61%> (+0.08%) ⬆️
pytest-gpu-nvc-nvidiaX 68.97% <20.45%> (-0.12%) ⬇️

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.

Comment thread devito/arch/limits.py Resolved
Comment thread tests/test_limits.py Outdated


@pytest.fixture
def proc_self(tmp_path, monkeypatch):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we agreed no monkeypatch? This is cropping up in every PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, dropped, I thought they might have been reasonable for this particular case in which we manipulate/check cgroups, but no

Comment thread devito/arch/limits.py Resolved
Comment thread devito/arch/limits.py Resolved
@JDBetteridge

Copy link
Copy Markdown
Contributor

I'm struggling to follow the logic in a lot of this code and can't just give it a quick look over. If it's critical, I guess just merge it and we can "fix it later", whenever that is

Use Jack’s namespace-root and mount-relative ancestor handling. Apply the known ceiling when current usage is unavailable.

@JDBetteridge JDBetteridge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take a look and push something shortly

Comment thread devito/arch/limits.py Resolved
Comment thread devito/arch/limits.py Resolved
Comment thread devito/arch/limits.py Resolved
@JDBetteridge
JDBetteridge force-pushed the fix/cuda-baseline-runtime branch from 9c756cf to 75c2997 Compare December 4, 2026 01:04
@FabioLuporini
FabioLuporini merged commit 9bc70e2 into main Dec 4, 2026
42 checks passed
@FabioLuporini
FabioLuporini deleted the fix/cuda-baseline-runtime branch December 4, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch jitting, archinfo, ... no-pro-trigger Skip the devitopro submodule update on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants