P4 to Git Change 1711343 by gandryey@gera-ocl-lc on 2018/11/23 15:00:30

SWDEV-79445 - OCL generic changes and code clean-up
	- Fix kernel compilation with COMgr. CodeobjectV3 has to be disabled during the kernel compilation also, not just linking.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#16 edit
This commit is contained in:
foreman
2018-11-23 15:11:58 -05:00
والد c46042e7ea
کامیت 0a284d5913
2فایلهای تغییر یافته به همراه6 افزوده شده و 7 حذف شده
@@ -123,9 +123,6 @@ bool Device::BlitProgram::create(amd::Device* device, const char* extraKernels,
if (!device->settings().useLightning_) {
opt += "-Wf,--force_disable_spir -fno-lib-no-inline -fno-sc-keep-calls ";
}
else {
opt += "-Wf,-mno-code-object-v3 ";
}
if (extraOptions != nullptr) {
opt += extraOptions;