Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
532a7059
Commit
532a7059
authored
Mar 11, 2019
by
Paul
Browse files
Fix loop variable
parent
189c3793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/include/migraphx/gpu/context.hpp
src/targets/gpu/include/migraphx/gpu/context.hpp
+1
-1
No files found.
src/targets/gpu/include/migraphx/gpu/context.hpp
View file @
532a7059
...
@@ -144,7 +144,7 @@ struct context
...
@@ -144,7 +144,7 @@ struct context
void
create_events
(
std
::
size_t
num_of_events
)
void
create_events
(
std
::
size_t
num_of_events
)
{
{
for
(
in
t
i
=
events
.
size
();
i
<
num_of_events
+
1
;
++
i
)
for
(
std
::
size_
t
i
=
events
.
size
();
i
<
num_of_events
+
1
;
++
i
)
events
.
emplace_back
(
create_event
());
events
.
emplace_back
(
create_event
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment