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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
f034a28e
Commit
f034a28e
authored
Feb 3, 2017
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Keep compilers happy when compiling with vectorisation
parent
0be718b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/benchmarkInteractions.c
+3
-0
3 additions, 0 deletions
tests/benchmarkInteractions.c
with
3 additions
and
0 deletions
tests/benchmarkInteractions.c
+
3
−
0
View file @
f034a28e
...
...
@@ -238,6 +238,9 @@ void test_interactions(struct part test_part, struct part *parts, size_t count,
float
dx
[
3
*
count
]
__attribute__
((
aligned
(
array_align
)));
struct
part
*
piq
[
count
],
*
pjq
[
count
];
for
(
int
k
=
0
;
k
<
count
;
k
++
)
{
piq
[
k
]
=
NULL
;
pjq
[
k
]
=
NULL
;
}
#ifdef WITH_VECTORIZATION
float
r2q
[
count
]
__attribute__
((
aligned
(
array_align
)));
...
...
...
...
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
sign in
to comment