Skip to content

compiler: Revamp bug-async-degree opt-option - #3023

Open
FabioLuporini wants to merge 1 commit into
mainfrom
revamp-buf-async-degree
Open

compiler: Revamp bug-async-degree opt-option#3023
FabioLuporini wants to merge 1 commit into
mainfrom
revamp-buf-async-degree

Conversation

@FabioLuporini

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.90110% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.80%. Comparing base (33c3b12) to head (69843a7).

Files with missing lines Patch % Lines
tests/test_gpu_common.py 96.55% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3023      +/-   ##
==========================================
+ Coverage   83.77%   83.80%   +0.02%     
==========================================
  Files         257      257              
  Lines       55007    55082      +75     
  Branches     4708     4715       +7     
==========================================
+ Hits        46083    46161      +78     
+ Misses       8109     8107       -2     
+ Partials      815      814       -1     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.60% <84.61%> (+0.01%) ⬆️
pytest-gpu-gcc- 78.40% <68.13%> (-0.01%) ⬇️
pytest-gpu-icx- 78.32% <68.13%> (-0.02%) ⬇️
pytest-gpu-nvc-nvidiaX 69.13% <84.61%> (+0.02%) ⬆️

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/core/operator.py
Comment on lines +266 to +270
async_degree = oo['buf-async-degree']
if async_degree is not None and (
isinstance(async_degree, bool) or
not is_integer(async_degree) or async_degree < 0
):

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.

Is there some way to express this more concisely?

Comment thread tests/test_buffering.py


def test_read_only_backwards():
@pytest.mark.parametrize('async_degree', [None, 4])

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.

Should another check be added to this test to ensure this parameterisation results in the desired effect in the gencode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants