From 7b6244b641ca62ffb547aa17f5ec83f6622d94c2 Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Wed, 3 Feb 2021 02:07:09 -0800 Subject: [PATCH] SWDEV-271274 - Remove hip init call from hipUnregisterBinary, this call ends up initializing rocclr and hsa even when there is no hip call in the entire file Change-Id: I20c1d3079c6032d79c5b892d5616921f7aeb4fe2 --- hipamd/rocclr/hip_platform.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/hipamd/rocclr/hip_platform.cpp b/hipamd/rocclr/hip_platform.cpp index af83db0b40..49790d6520 100755 --- a/hipamd/rocclr/hip_platform.cpp +++ b/hipamd/rocclr/hip_platform.cpp @@ -149,8 +149,6 @@ extern "C" void __hipRegisterTexture(hip::FatBinaryInfo** modules, // The d extern "C" void __hipUnregisterFatBinary(hip::FatBinaryInfo** modules) { - HIP_INIT(); - PlatformState::instance().removeFatBinary(modules); }