Add ns-level timer for HIP API routines

Refactor some miuses of ihipLogStatus, these should only be in top-level
HIP APIs and should be paired with HIP_API_INIT calls.


[ROCm/clr commit: dc7d993a02]
This commit is contained in:
Ben Sander
2017-10-30 20:18:41 +00:00
parent fd5b9cb650
commit 4df6b371ab
5 changed files with 30 additions and 17 deletions
-1
View File
@@ -140,7 +140,6 @@ hipError_t hipStreamQuery(hipStream_t stream)
//---
hipError_t hipStreamSynchronize(hipStream_t stream)
{
HIP_INIT_API(stream);
HIP_INIT_SPECIAL_API(TRACE_SYNC, stream);
hipError_t e = hipSuccess;