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 authored and Jatin Chaudhary committed 2021-02-09 07:59:32 -05:00
1 parent 7e95883cfc
commit 3de1a22c48
1 file changed
-2
@@ -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);
}