P4 to Git Change 1768245 by wchau@wchau_OCL_Linux on 2019/04/10 22:01:33

SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
	- Fixed the missing support of Printf for CO v3
	- Added back the flag to disable CO v3 for the non-COMGR environment

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#40 edit
Cette révision appartient à :
foreman
2019-04-10 22:15:35 -04:00
Parent 25c15cbb15
révision 90271b9b75
2 fichiers modifiés avec 4 ajouts et 1 suppressions
+2
Voir le fichier
@@ -1760,6 +1760,8 @@ bool Program::linkImplLC(amd::option::Options* options) {
std::ostream_iterator<std::string>(ostrstr, " "));
codegenOptions.append(" ").append(ostrstr.str());
// Force object code v2.
codegenOptions.append(" -mno-code-object-v3");
// Set whole program mode
codegenOptions.append(" -mllvm -amdgpu-internalize-symbols -mllvm -amdgpu-early-inline-all");