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


[ROCm/clr commit: 0a284d5913]
此提交包含在:
foreman committed 2018-11-23 15:11:58 -05:00
1 父節點 64e30609d4
當前提交 df097687e1
2 file changed
+6 -7

No files matched your search

-3
查看文件
@@ -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;