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
9b14e317
Commit
9b14e317
authored
Mar 05, 2019
by
Paul
Browse files
Decrease sychronization flags
parent
bbe9d22c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/targets/gpu/schedule_model.cpp
src/targets/gpu/schedule_model.cpp
+3
-2
No files found.
src/targets/gpu/schedule_model.cpp
View file @
9b14e317
...
...
@@ -14,8 +14,9 @@ hip_event_ptr create_event()
{
hipEvent_t
event
;
// Default is hipEventReleaseToDevice
auto
status
=
hipEventCreateWithFlags
(
&
event
,
hipEventDisableTiming
|
hipEventReleaseToSystem
|
hipEventBlockingSync
);
// auto status = hipEventCreateWithFlags(
// &event, hipEventDisableTiming | hipEventReleaseToSystem | hipEventBlockingSync);
auto
status
=
hipEventCreateWithFlags
(
&
event
,
hipEventDisableTiming
);
if
(
status
!=
hipSuccess
)
MIGRAPHX_THROW
(
"Failed to create 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