Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Gaudi
Gaudi
Commits
97ee08ca
Commit
97ee08ca
authored
5 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Plain Diff
Add vecwid256 microarchitecture option to enable -mprefer-vector-width=256 (
!965
)
parents
c3048316
84f18395
No related branches found
No related tags found
1 merge request
!965
Add vecwid256 microarchitecture option to enable -mprefer-vector-width=256
Pipeline
#1103202
passed
5 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/GaudiBuildFlags.cmake
+5
-1
5 additions, 1 deletion
cmake/GaudiBuildFlags.cmake
with
5 additions
and
1 deletion
cmake/GaudiBuildFlags.cmake
+
5
−
1
View file @
97ee08ca
...
...
@@ -240,7 +240,11 @@ if(NOT GAUDI_FLAGS_SET EQUAL GAUDI_FLAGS_OPTIONS)
if
(
_arch_opt STREQUAL
"native"
)
message
(
FATAL_ERROR
"you must use 'native-
${
BINARY_TAG_OS
}
-
${
BINARY_TAG_COMP
}
-
${
BINARY_TAG_TYPE
}
'' instead of '
${
BINARY_TAG_ARCH
}
+native-
${
BINARY_TAG_OS
}
-
${
BINARY_TAG_COMP
}
-
${
BINARY_TAG_TYPE
}
'"
)
endif
()
set
(
arch_opts
"
${
arch_opts
}
-m
${
_arch_opt
}
"
)
if
(
_arch_opt STREQUAL
"vecwid256"
)
set
(
arch_opts
"
${
arch_opts
}
-mprefer-vector-width=256"
)
else
()
set
(
arch_opts
"
${
arch_opts
}
-m
${
_arch_opt
}
"
)
endif
()
endforeach
()
message
(
STATUS
"Arch Flags:
${
arch_opts
}
"
)
# Common compilation flags
...
...
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