Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
232448d6
Commit
232448d6
authored
5 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Use the correct variable to detect whether we are compiling on an AVX-512 platform with ICC.
parent
728c21e1
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!946
Special flags for gravity
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+3
-2
3 additions, 2 deletions
configure.ac
with
3 additions
and
2 deletions
configure.ac
+
3
−
2
View file @
232448d6
...
@@ -452,10 +452,11 @@ if test "$enable_opt" = "yes" ; then
...
@@ -452,10 +452,11 @@ if test "$enable_opt" = "yes" ; then
ac_test_CFLAGS="yes"
ac_test_CFLAGS="yes"
detected_ax_gcc_arch=`echo $ax_gcc_arch | awk '{print $1;}'`
detected_ax_gcc_arch=`echo $ax_gcc_arch | awk '{print $1;}'`
detected_ax_icc_flag=`echo $icc_flags | awk '{print $1;}'`
# Choose the best flags for the gravity sub-library on this compiler and architecture
# Choose the best flags for the gravity sub-library on this compiler and architecture
if test "$ax_cv_c_compiler_vendor" = "intel"; then
if test "$ax_cv_c_compiler_vendor" = "intel"; then
if test "$detected_ax_
g
cc_
arch
" = "
skylake-avx
512"; then
if test "$detected_ax_
i
cc_
flag
" = "
-xCORE-AVX
512"; then
GRAVITY_CFLAGS="-qopt-zmm-usage=high"
GRAVITY_CFLAGS="-qopt-zmm-usage=high"
else
else
AC_MSG_WARN([No additional flags needed for gravity on this platform])
AC_MSG_WARN([No additional flags needed for gravity on this platform])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment