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]
Этот коммит содержится в:
Ben Sander
2017-10-30 20:18:41 +00:00
родитель fd5b9cb650
Коммит 4df6b371ab
5 изменённых файлов: 30 добавлений и 17 удалений
-1
Просмотреть файл
@@ -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;