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


[ROCm/hip commit: 1770e8a160]
This commit is contained in:
Jatin Chaudhary
2021-02-03 02:07:09 -08:00
committed by Jatin Chaudhary
parent f621805e46
commit 24f12bbd85
-2
View File
@@ -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);
}