P4 to Git Change 1491909 by gandryey@gera-w8 on 2017/12/07 16:33:58

SWDEV-79445 - OCL generic changes and code clean-up
	- Add device validation call for LiquidFlash library before usage.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#294 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodriver.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#77 edit
This commit is contained in:
foreman
2017-12-07 17:08:40 -05:00
parent 6aa498fb03
commit 0604712f5a
4 changed files with 11 additions and 0 deletions
+1
View File
@@ -568,6 +568,7 @@ bool Device::create() {
if (pro_device_ != nullptr) {
pro_ena_ = true;
settings_->enableExtension(ClAMDLiquidFlash);
pro_device_->GetAsicIdAndRevisionId(&info_.pcieDeviceId_, &info_.pcieRevisionId_);
}
#endif