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 à :
@@ -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");
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur