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

compiler: Patch iteration space scheduling #1898

Merged
merged 1 commit into from Apr 8, 2022
Merged

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

def test_issue_1897(self):
grid = Grid(shape=(11, 11, 11))

v = VectorTimeFunction(name='v', grid=grid, time_order=1, space_order=4)
Copy link
Contributor

Choose a reason for hiding this comment

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

Orders can be dropped..space_order, time_order

@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #1898 (bc94a6f) into master (ac36f4f) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1898      +/-   ##
==========================================
- Coverage   89.63%   89.63%   -0.01%     
==========================================
  Files         210      210              
  Lines       35265    35272       +7     
  Branches     5319     5319              
==========================================
+ Hits        31611    31616       +5     
- Misses       3161     3162       +1     
- Partials      493      494       +1     
Impacted Files Coverage Δ
devito/ir/clusters/algorithms.py 95.30% <100.00%> (-1.35%) ⬇️
tests/test_operator.py 97.81% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac36f4f...bc94a6f. Read the comment docs.

Copy link
Contributor

@georgebisbas georgebisbas left a comment

Choose a reason for hiding this comment

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

Should a GPU test be added as well? Or redundant? It shouldn't;t fail I guess, but since John spotted a similar behaviour with tile(...) just saying...

Copy link
Collaborator

@jkwashbourne jkwashbourne left a comment

Choose a reason for hiding this comment

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

Wow that is a fast fix! Much impressed.

@@ -84,7 +84,7 @@ class Schedule(QueueStateful):

@timed_pass(name='schedule')
def process(self, clusters):
return self._process_fdta(clusters, 1)
return self._process_fatd(clusters, 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

Was really just a typo? 😮

Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if you are kidding? :-p

First Divide then apply
First apply then divide

It is such as small and nice fix though...like a typo

Copy link
Contributor

Choose a reason for hiding this comment

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

Not kidding was just wondering if was intentional to have fdta or if was meant to be fatd from the beginning but wasn't noticed. anyway all good

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fatd leads to a fundamental change in the algorithm behavior, so no, it was not a typo but rather an actual bug

@mloubout mloubout merged commit 44b8c58 into master Apr 8, 2022
@mloubout mloubout deleted the hotfix-issue-1897 branch April 8, 2022 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants