P4 to Git Change 1313484 by lmoriche@lmoriche_opencl_dev on 2016/09/12 17:32:10

SWDEV-94610 - Fix the HSAIL Runtime build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#32 edit
This commit is contained in:
foreman
2016-09-12 16:43:09 -05:00
parent 64ed800f46
commit 978a25ba95
+1 -1
View File
@@ -1142,7 +1142,7 @@ HSAILProgram::linkImpl(amd::option::Options *options)
}
#else // !defined(WITH_LIGHTNING_COMPILER)
std::string curOptions = options->origOptionStr
+ preprocessorOptions(options) + commonOptions(options);
+ preprocessorOptions(options) + codegenOptions(options);
errorCode = g_complibApi._aclCompile(device().compiler(), binaryElf_,
curOptions.c_str(), continueCompileFrom, ACL_TYPE_CG, logFunction);
buildLog_ += g_complibApi._aclGetCompilerLog(device().compiler());