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
aea2d1f1
Commit
aea2d1f1
authored
6 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into parallel_rebuild
parents
99c0b0e2
e7f3137a
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!659
Parallel rebuild2
,
!655
Parallel rebuild
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common_io.c
+1
-1
1 addition, 1 deletion
src/common_io.c
with
1 addition
and
1 deletion
src/common_io.c
+
1
−
1
View file @
aea2d1f1
...
@@ -378,7 +378,7 @@ void io_write_engine_policy(hid_t h_file, const struct engine* e) {
...
@@ -378,7 +378,7 @@ void io_write_engine_policy(hid_t h_file, const struct engine* e) {
const
hid_t
h_grp
=
H5Gcreate1
(
h_file
,
"/Policy"
,
0
);
const
hid_t
h_grp
=
H5Gcreate1
(
h_file
,
"/Policy"
,
0
);
if
(
h_grp
<
0
)
error
(
"Error while creating policy group"
);
if
(
h_grp
<
0
)
error
(
"Error while creating policy group"
);
for
(
int
i
=
1
;
i
<
=
engine_maxpolicy
;
++
i
)
for
(
int
i
=
1
;
i
<
engine_maxpolicy
;
++
i
)
if
(
e
->
policy
&
(
1
<<
i
))
if
(
e
->
policy
&
(
1
<<
i
))
io_write_attribute_i
(
h_grp
,
engine_policy_names
[
i
+
1
],
1
);
io_write_attribute_i
(
h_grp
,
engine_policy_names
[
i
+
1
],
1
);
else
else
...
...
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