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]
这个提交包含在:
1 父节点
64e30609d4
当前提交
df097687e1
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;
|
||||
|
||||
在新工单中引用
屏蔽一个用户