P4 to Git Change 1708308 by wchau@wchau_OCL_boltzmann on 2018/11/16 14:01:10

SWDEV-167383 - [OCL]: Switch to new object format
	- Disable code object v3 for blit programs
	- Porting the changes made by Konstantin (http://git.amd.com:8080/#/c/187605)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#13 edit
このコミットが含まれているのは:
foreman
2018-11-16 14:10:39 -05:00
コミット 7265b71a1c
2個のファイルの変更7行の追加0行の削除
+3
ファイルの表示
@@ -123,6 +123,9 @@ 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;