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:
@@ -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;
|
||||
|
||||
مرجع در شماره جدید
Block a user