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
5b6abcc3
Commit
5b6abcc3
authored
Feb 28, 2019
by
Paul
Browse files
Formatting
parent
9db47771
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
src/targets/gpu/include/migraphx/gpu/context.hpp
src/targets/gpu/include/migraphx/gpu/context.hpp
+3
-6
No files found.
src/targets/gpu/include/migraphx/gpu/context.hpp
View file @
5b6abcc3
...
...
@@ -83,7 +83,7 @@ struct hip_device
void
sync
()
const
{
if
(
s
!=
nullptr
)
if
(
s
!=
nullptr
)
hipStreamSynchronize
(
s
.
get
());
}
...
...
@@ -169,10 +169,7 @@ struct context
if
(
n
>=
0
)
get_current_device
().
set_stream
(
n
);
}
void
create_events
(
int
num_of_events
)
{
get_current_device
().
create_events
(
num_of_events
);
}
void
create_events
(
int
num_of_events
)
{
get_current_device
().
create_events
(
num_of_events
);
}
void
record_event
(
int
event
)
{
get_current_device
().
record_event
(
event
);
}
void
wait_event
(
int
event
)
{
get_current_device
().
wait_event
(
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