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

arch: Support more platforms #2415

Merged
merged 2 commits into from
Jul 22, 2024
Merged

arch: Support more platforms #2415

merged 2 commits into from
Jul 22, 2024

Conversation

mloubout
Copy link
Contributor

Generalizes gcc
suport graviton 2-3-4 and add cflags to use gcc with it as well

@mloubout mloubout added the arch jitting, archinfo, ... label Jul 18, 2024
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 86.72%. Comparing base (d343ae0) to head (e69f27a).

Files Patch % Lines
devito/arch/archinfo.py 66.66% 4 Missing ⚠️
devito/arch/compiler.py 73.33% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2415      +/-   ##
==========================================
- Coverage   86.74%   86.72%   -0.03%     
==========================================
  Files         235      235              
  Lines       44701    44724      +23     
  Branches     8288     8293       +5     
==========================================
+ Hits        38777    38786       +9     
- Misses       5195     5212      +17     
+ Partials      729      726       -3     

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

devito/arch/compiler.py Outdated Show resolved Hide resolved
devito/arch/compiler.py Outdated Show resolved Hide resolved
devito/arch/compiler.py Outdated Show resolved Hide resolved
devito/arch/compiler.py Outdated Show resolved Hide resolved
devito/arch/compiler.py Outdated Show resolved Hide resolved
return super().__getitem__(key)

def has_key(self, k):
return k in self.keys() or k.startswith('gcc-')
Copy link
Contributor

Choose a reason for hiding this comment

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

no need for "()" after keys

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes you do

devito/arch/compiler.py Outdated Show resolved Hide resolved
@FabioLuporini FabioLuporini changed the title compiler: More arches arch: Support more platforms Jul 19, 2024
@FabioLuporini
Copy link
Contributor

I've also changed the PR title to start with "arch: ..." rather than "compiler: ..."

@ggorman
Copy link
Contributor

ggorman commented Jul 19, 2024

Reinstating Graviton runner so this can actually be tested.

@mloubout mloubout force-pushed the graviton branch 3 times, most recently from a5e9828 to f9b08f0 Compare July 21, 2024 02:43
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 now

@mloubout mloubout merged commit 3e259d2 into master Jul 22, 2024
30 of 31 checks passed
@mloubout mloubout deleted the graviton branch July 22, 2024 12:40
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