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]
Tento commit je obsažen v:
Ben Sander
2017-10-30 20:18:41 +00:00
rodič fd5b9cb650
revize 4df6b371ab
5 změnil soubory, kde provedl 30 přidání a 17 odebrání
-1
Zobrazit soubor
@@ -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;