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
64f71de8
Commit
64f71de8
authored
Mar 04, 2019
by
Paul
Browse files
Formatting
parent
60917cc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/targets/gpu/schedule_model.cpp
src/targets/gpu/schedule_model.cpp
+2
-1
No files found.
src/targets/gpu/schedule_model.cpp
View file @
64f71de8
...
@@ -14,7 +14,8 @@ hip_event_ptr create_event()
...
@@ -14,7 +14,8 @@ hip_event_ptr create_event()
{
{
hipEvent_t
event
;
hipEvent_t
event
;
// Default is hipEventReleaseToDevice
// Default is hipEventReleaseToDevice
auto
status
=
hipEventCreateWithFlags
(
&
event
,
hipEventDisableTiming
|
hipEventReleaseToSystem
|
hipEventBlockingSync
);
auto
status
=
hipEventCreateWithFlags
(
&
event
,
hipEventDisableTiming
|
hipEventReleaseToSystem
|
hipEventBlockingSync
);
if
(
status
!=
hipSuccess
)
if
(
status
!=
hipSuccess
)
MIGRAPHX_THROW
(
"Failed to create event"
);
MIGRAPHX_THROW
(
"Failed to create event"
);
return
hip_event_ptr
{
event
};
return
hip_event_ptr
{
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