Commit 9b14e317 authored by Paul's avatar Paul
Browse files

Decrease sychronization flags

parent bbe9d22c
...@@ -14,8 +14,9 @@ hip_event_ptr create_event() ...@@ -14,8 +14,9 @@ hip_event_ptr create_event()
{ {
hipEvent_t event; hipEvent_t event;
// Default is hipEventReleaseToDevice // Default is hipEventReleaseToDevice
auto status = hipEventCreateWithFlags( // auto status = hipEventCreateWithFlags(
&event, hipEventDisableTiming | hipEventReleaseToSystem | hipEventBlockingSync); // &event, hipEventDisableTiming | hipEventReleaseToSystem | hipEventBlockingSync);
auto status = hipEventCreateWithFlags(&event, hipEventDisableTiming);
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};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment