Prepare to use gmm as dll on Windows

Since this commit neo on Windows can use static or shared gmm lib

Change-Id: I7db70d7f9bc969e8193ac77e8b6d65ecc57d0093
This commit is contained in:
Mateusz Jablonski
2018-05-17 11:47:35 +02:00
committed by sys_ocldev
parent c1782b802a
commit 98b8b4b6a4
34 changed files with 1022 additions and 87 deletions

View File

@ -46,7 +46,7 @@ bool GmmMemoryBase::configureDeviceAddressSpace(GMM_ESCAPE_HANDLE hAdapter,
}
uintptr_t GmmMemoryBase::getInternalGpuVaRangeLimit() {
return static_cast<uintptr_t>(pGmmGlobalContext->GetInternalGpuVaRangeLimit());
return static_cast<uintptr_t>(Gmm::gmmClientContext->GetInternalGpuVaRangeLimit());
}
}; // namespace OCLRT