-
Notifications
You must be signed in to change notification settings - Fork 229
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: Enable AVX512 compiler support when available. #2184
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2184 +/- ##
=======================================
Coverage 87.08% 87.09%
=======================================
Files 226 226
Lines 40175 40178 +3
Branches 7331 7332 +1
=======================================
+ Hits 34988 34992 +4
Misses 4606 4606
+ Partials 581 580 -1
|
…whether AVX512 is supported rather than DEVITO_PLATFORM. This adds compiler options for long vectors for Intel Skylake and later generations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stronger
devito/arch/compiler.py
Outdated
@@ -698,7 +698,6 @@ class IntelCompiler(Compiler): | |||
def __init__(self, *args, **kwargs): | |||
super().__init__(*args, **kwargs) | |||
|
|||
platform = kwargs.pop('platform', configuration['platform']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need this back, and same for GCC one
Use configuration['platform'].isa == 'avx512' to determine whether AVX512 is supported rather than DEVITO_PLATFORM. This adds compiler options for long vectors for Intel Skylake and later generations.