Commit 5b6abcc3 authored by Paul's avatar Paul
Browse files

Formatting

parent 9db47771
...@@ -83,7 +83,7 @@ struct hip_device ...@@ -83,7 +83,7 @@ struct hip_device
void sync() const void sync() const
{ {
if (s != nullptr) if(s != nullptr)
hipStreamSynchronize(s.get()); hipStreamSynchronize(s.get());
} }
...@@ -169,10 +169,7 @@ struct context ...@@ -169,10 +169,7 @@ struct context
if(n >= 0) if(n >= 0)
get_current_device().set_stream(n); get_current_device().set_stream(n);
} }
void create_events(int num_of_events) void create_events(int num_of_events) { get_current_device().create_events(num_of_events); }
{
get_current_device().create_events(num_of_events);
}
void record_event(int event) { get_current_device().record_event(event); } void record_event(int event) { get_current_device().record_event(event); }
void wait_event(int event) { get_current_device().wait_event(event); } void wait_event(int event) { get_current_device().wait_event(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