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.
This commit is contained in:
Ben Sander committed 2017-10-30 20:20:51 +00:00
1 parent 7e8b39fc96
commit dc7d993a02
5 files changed
+30 -17

No files matched your search

-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;