Fix missing MARKER_END

Logging status of hipCtxSynchronize was missing
Test if hip profiling is active for MARKER_END in ihipPostLaunchKernel
Add MARKER_END after the completion of a kernel launched through
the "grid launch"


[ROCm/hip commit: 6baaed8e48]
This commit is contained in:
Pierre
2017-11-13 16:13:19 -05:00
parent 0fd5239b14
commit d917c6b546
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -92,5 +92,8 @@ namespace hip_impl
delete static_cast<L*>(locked_stream);
locked_stream = nullptr;
if(HIP_PROFILE_API) {
MARKER_END();
}
}
}