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
7437ebf4
"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "2ed46170e670b25bf6d366ae226fdc3195ee6161"
Commit
7437ebf4
authored
Feb 14, 2019
by
mei-ye
Browse files
more tidy error
parent
6a09f672
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/targets/gpu/include/migraphx/gpu/context.hpp
src/targets/gpu/include/migraphx/gpu/context.hpp
+7
-4
No files found.
src/targets/gpu/include/migraphx/gpu/context.hpp
View file @
7437ebf4
...
...
@@ -155,14 +155,17 @@ struct context
}
hip_device
::
stream
&
get_stream
()
{
return
get_current_device
().
get_stream
();
}
void
set_stream
(
int
n
)
void
set_stream
(
int
n
)
const
{
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
record_event
(
int
event
)
{
get_current_device
().
record_event
(
event
);
}
void
wait_event
(
int
event
)
{
get_current_device
().
wait_event
(
event
);
}
void
create_events
(
int
num_of_events
)
const
{
get_current_device
().
create_events
(
num_of_events
);
}
void
record_event
(
int
event
)
const
{
get_current_device
().
record_event
(
event
);
}
void
wait_event
(
int
event
)
const
{
get_current_device
().
wait_event
(
event
);
}
std
::
vector
<
argument
>
literals
{};
void
finish
()
const
...
...
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