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 };