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"
Tá an tiomantas seo le fáil i:
Pierre
2017-11-13 16:13:19 -05:00
tuismitheoir 7f3653af7a
tiomantas e60a95d7dd
D'athraigh 3 comhad le 7 breiseanna agus 2 scriosta
+3 -1
Féach ar an gComhad
@@ -1592,7 +1592,9 @@ void ihipPostLaunchKernel(const char *kernelName, hipStream_t stream, grid_launc
tprintf(DB_SYNC, "ihipPostLaunchKernel, unlocking stream\n");
stream->lockclose_postKernelCommand(kernelName, lp.av);
MARKER_END();
if(HIP_PROFILE_API) {
MARKER_END();
}
}
//=================================================================================================