From 1769c4b4b2e1e15cd8f377c02471e42635484323 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Mon, 29 Aug 2016 21:42:22 -0500 Subject: [PATCH] remove HIP_INIT_API from ihipSynchronize Change-Id: Ibe0739efe55573c023212d9c28ba847c777e434c --- src/hip_hcc.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hip_hcc.cpp b/src/hip_hcc.cpp index 340d572bec..ea8604b7c4 100644 --- a/src/hip_hcc.cpp +++ b/src/hip_hcc.cpp @@ -160,8 +160,6 @@ ihipCtx_t *ihipGetTlsDefaultCtx() hipError_t ihipSynchronize(void) { - HIP_INIT_API(); - ihipGetTlsDefaultCtx()->locked_waitAllStreams(); // ignores non-blocking streams, this waits for all activity to finish. return ihipLogStatus(hipSuccess);