From bc1abd10f5b0504b0632e51a3aeb21289e45f060 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 [ROCm/hip commit: 1769c4b4b2e1e15cd8f377c02471e42635484323] --- projects/hip/src/hip_hcc.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/hip/src/hip_hcc.cpp b/projects/hip/src/hip_hcc.cpp index 340d572bec..ea8604b7c4 100644 --- a/projects/hip/src/hip_hcc.cpp +++ b/projects/hip/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);