Revert "Solve issues with hip-vdi runtime static lib"

This reverts commit 5210ee6ca5.

Reason for revert: It is causing dkms-no-npi-hipclang broken.
It is top priority to maintain dkms-no-npi-hipclang build, otherwise we lose track of regression analysis.
So revert the change for now and recommit it after fixing it.

 

Change-Id: Ia5136e888baecb6148c6c18eedbf37066fcb1eaa
This commit is contained in:
Tao Sang
2020-04-17 10:13:08 -05:00
parent 5210ee6ca5
commit a6c6f51926
6 changed files with 13 additions and 46 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
constexpr unsigned __hipFatMAGIC2 = 0x48495046; // "HIPF"
thread_local std::stack<ihipExec_t> execStack_;
PlatformState* PlatformState::platform_ = nullptr;
PlatformState* PlatformState::platform_ = new PlatformState();
struct __CudaFatBinaryWrapper {
unsigned int magic;