Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: Fix gpu-fit for TensorFunction #2285

Merged
merged 1 commit into from
Dec 18, 2023
Merged

api: Fix gpu-fit for TensorFunction #2285

merged 1 commit into from
Dec 18, 2023

Conversation

mloubout
Copy link
Contributor

No description provided.

@mloubout mloubout added the API api (symbolics, types, ...) label Dec 18, 2023
@@ -1442,6 +1442,18 @@ def test_pickling(self):

assert str(op) == str(new_op)

def test_tensor_fit(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a TestAPI class in this file I'd move it there and spell it out test_gpu_fit_w_tensor_functions

(Spelling it out helps in absence of docstrings)

Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (8f45ba0) 86.86% compared to head (dbd0064) 86.84%.

Files Patch % Lines
tests/test_gpu_common.py 0.00% 7 Missing ⚠️
devito/core/gpu.py 60.00% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2285      +/-   ##
==========================================
- Coverage   86.86%   86.84%   -0.03%     
==========================================
  Files         229      229              
  Lines       42535    42548      +13     
  Branches     7892     7893       +1     
==========================================
+ Hits        36949    36951       +2     
- Misses       4929     4940      +11     
  Partials      657      657              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@FabioLuporini FabioLuporini left a comment

Choose a reason for hiding this comment

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

GTG, thx

@mloubout mloubout merged commit b7016f2 into master Dec 18, 2023
31 checks passed
@mloubout mloubout deleted the gpufit-tensor branch December 18, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API api (symbolics, types, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants