P4 to Git Change 1299584 by lmoriche@lmoriche_opencl_dev on 2016/08/05 12:04:07

SWDEV-94610 - To allow the device initialization to complete, disable the blit kernels creation for now (OpenCL/LC).

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#6 edit


[ROCm/clr commit: 53e279d2b1]
이 커밋은 다음에 포함됨:
foreman
2016-08-05 12:12:23 -04:00
부모 3c43a515ef
커밋 291aacb764
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
+2
파일 보기
@@ -436,6 +436,7 @@ Device::create()
return false;
}
#if !defined(WITH_LIGHTNING_COMPILER) // FIXME_Wilkin
blitProgram_ = new BlitProgram(context_);
// Create blit programs
if (blitProgram_ == NULL || !blitProgram_->create(this)) {
@@ -444,6 +445,7 @@ Device::create()
LogError("Couldn't create blit kernels!");
return false;
}
#endif // !defined(WITH_LIGHTNING_COMPILER)
mapCacheOps_ = new amd::Monitor("Map Cache Lock", true);
if (NULL == mapCacheOps_) {
+2
파일 보기
@@ -522,12 +522,14 @@ VirtualGPU::create(bool profilingEna)
return false;
}
#if !defined(WITH_LIGHTNING_COMPILER) // FIXME_Wilkin
device::BlitManager::Setup blitSetup;
blitMgr_ = new KernelBlitManager(*this, blitSetup);
if ((NULL == blitMgr_) || !blitMgr_->create(roc_device_)) {
LogError("Could not create BlitManager!");
return false;
}
#endif // !defined(WITH_LIGHTNING_COMPILER)
// Create signal for the barrier packet.
hsa_signal_t signal = { 0 };