Commit 3852e43b authored by Paul's avatar Paul
Browse files

Fix tidy

parent ce738c7a
...@@ -114,7 +114,7 @@ void launch_kernel(hipFunction_t fun, ...@@ -114,7 +114,7 @@ void launch_kernel(hipFunction_t fun,
stop); stop);
if(status != hipSuccess) if(status != hipSuccess)
MIGRAPHX_THROW("Failed to launch kernel: " + hip_error(status)); MIGRAPHX_THROW("Failed to launch kernel: " + hip_error(status));
if(stop) if(stop != nullptr)
{ {
status = hipEventSynchronize(stop); status = hipEventSynchronize(stop);
if(status != hipSuccess) if(status != hipSuccess)
......
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