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: Misc minor code generation fixes #1891

Merged
merged 25 commits into from
Apr 11, 2022
Merged

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 28, 2022

Codecov Report

Merging #1891 (63c2deb) into master (ac36f4f) will increase coverage by 0.00%.
The diff coverage is 91.58%.

@@           Coverage Diff            @@
##           master    #1891    +/-   ##
========================================
  Coverage   89.63%   89.64%            
========================================
  Files         210      210            
  Lines       35265    35453   +188     
  Branches     5319     5350    +31     
========================================
+ Hits        31611    31781   +170     
- Misses       3161     3179    +18     
  Partials      493      493            
Impacted Files Coverage Δ
tests/test_gpu_common.py 1.48% <ø> (ø)
devito/arch/archinfo.py 45.90% <25.00%> (-0.81%) ⬇️
devito/ir/clusters/cluster.py 92.69% <44.44%> (-3.05%) ⬇️
devito/ir/iet/visitors.py 82.59% <66.66%> (-0.06%) ⬇️
devito/types/basic.py 95.67% <80.00%> (-0.23%) ⬇️
devito/types/misc.py 96.77% <83.33%> (-1.56%) ⬇️
devito/passes/clusters/buffering.py 94.75% <85.71%> (-0.52%) ⬇️
devito/tools/utils.py 81.60% <93.75%> (+1.48%) ⬆️
devito/symbolics/extended_sympy.py 98.08% <98.50%> (+0.94%) ⬆️
devito/ir/iet/efunc.py 90.15% <100.00%> (+0.07%) ⬆️
... and 17 more

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...63c2deb. Read the comment docs.

If at least one Cluster performs floating point arithmetic, then the
Clusters performing integer arithmetic are ignored.

If two Clusters perform calculations with different precision, the
Copy link
Contributor

Choose a reason for hiding this comment

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

at least two?

@FabioLuporini FabioLuporini force-pushed the enable-local-buffering branch 4 times, most recently from da8474a to dd85aa0 Compare March 30, 2022 14:33
@memoized_func
def get_cuda_path():
# *** First try: CUDA_HOME
cuda_home = os.environ.get('CUDA_HOME')
Copy link
Contributor

Choose a reason for hiding this comment

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

would try CUDA_ROOT as well

Copy link
Contributor

Choose a reason for hiding this comment

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

ping

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

devito/ir/clusters/cluster.py Show resolved Hide resolved
devito/ir/clusters/cluster.py Outdated Show resolved Hide resolved
@FabioLuporini FabioLuporini force-pushed the enable-local-buffering branch 5 times, most recently from 65d706b to f1f5948 Compare April 4, 2022 13:55
@FabioLuporini FabioLuporini changed the title compiler: Support buffering in local mem space compiler: Misc minor code generation fixes Apr 6, 2022
devito/passes/clusters/buffering.py Show resolved Hide resolved
@@ -170,6 +180,17 @@ def base(self):
else:
return self.pointer

@property
def bound_symbols(self):
# NOTE: this property requires the prefix '_' in front because
Copy link
Contributor

Choose a reason for hiding this comment

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

But you are not using it right? the prefix _

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@FabioLuporini FabioLuporini force-pushed the enable-local-buffering branch from e2faf0d to 9cc634f Compare April 8, 2022 10:49
@FabioLuporini FabioLuporini merged commit 30434ef into master Apr 11, 2022
@FabioLuporini FabioLuporini deleted the enable-local-buffering branch April 11, 2022 07:17
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.

3 participants