Skip to content

compiler: Improve DDA involving SubDimensions - #3029

Merged
FabioLuporini merged 1 commit into
mainfrom
cuda-hip-graphs
Sep 17, 2026
Merged

FabioLuporini merged 1 commit into
mainfrom
cuda-hip-graphs

Conversation

@FabioLuporini

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.87%. Comparing base (418f94a) to head (a0ca4d3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3029      +/-   ##
==========================================
+ Coverage   83.84%   83.87%   +0.02%     
==========================================
  Files         258      258              
  Lines       55281    55356      +75     
  Branches     4719     4730      +11     
==========================================
+ Hits        46351    46428      +77     
+ Misses       8113     8112       -1     
+ Partials      817      816       -1     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.68% <88.57%> (+0.03%) ⬆️
pytest-gpu-gcc- 78.51% <100.00%> (+0.01%) ⬆️
pytest-gpu-icx- 78.43% <100.00%> (+0.01%) ⬆️
pytest-gpu-nvc-nvidiaX 69.20% <88.57%> (+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.

@FabioLuporini FabioLuporini added the no-pro-trigger Skip the devitopro submodule update on merge label Sep 17, 2026

@mloubout mloubout 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.

minor comment but gtg

# E.g., `f[xl]` over `(xl,)` and `f[xm]` over `(xm,)` need this
# special test, while accesses over the same `(xl,)` should use general
# distance analysis, so we can return immediately in such a case
if not (d0.is_Sub and

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.

Ultra nit-picking. not d0.is_Sub or not d1.is_Sub or .... is a better check as it will stop at the first True instead of evaluating the whole condition.

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.

  1. I'd be surprised if the bytecode isn't optimized already for this kind of things
  2. nah, as soon as d0.is_Sub is False, the inner condition gets evaluated immediately, so it stops immediately anyway

@FabioLuporini
FabioLuporini merged commit caf6fc9 into main Sep 17, 2026
42 checks passed
@FabioLuporini
FabioLuporini deleted the cuda-hip-graphs branch September 17, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler 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