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/clr commit: 7b6244b641]
This commit is contained in:
Jatin Chaudhary
2021-02-03 02:07:09 -08:00
committed by Jatin Chaudhary
parent 7e95883cfc
commit 3de1a22c48
@@ -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);
}