Skip to content

Conversation

@EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Nov 12, 2025

Also improves errors for invalid combinations.

…ces, and improve errors for invalid combinations
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.01%. Comparing base (379c77d) to head (3a2f12b).
⚠️ Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
devito/operator/operator.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2791      +/-   ##
==========================================
- Coverage   83.03%   83.01%   -0.02%     
==========================================
  Files         248      248              
  Lines       50499    50811     +312     
  Branches     4440     4479      +39     
==========================================
+ Hits        41930    42183     +253     
- Misses       7807     7860      +53     
- Partials      762      768       +6     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 68.52% <75.00%> (-0.22%) ⬇️
pytest-gpu-nvc-nvidiaX 69.04% <75.00%> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

return visible_devices[logical_deviceid]
except IndexError:
errmsg = (f"A deviceid value of {logical_deviceid} is not valid "
f"with VISIBLE_DEVICES={visible_devices}. Note that "
Copy link
Contributor

Choose a reason for hiding this comment

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

since you're at it, fetch the self.platform and prefix it with CUDA_ or ROCM_ accordingly?

also, did you mean "with" or "within" ?

@mloubout mloubout added API api (symbolics, types, ...) arch jitting, archinfo, ... and removed API api (symbolics, types, ...) labels Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch jitting, archinfo, ...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants