From 978a25ba95182c8501c1b4ab0585319f004969f7 Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 12 Sep 2016 16:43:09 -0500 Subject: [PATCH] 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 --- rocclr/runtime/device/rocm/rocprogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/rocm/rocprogram.cpp b/rocclr/runtime/device/rocm/rocprogram.cpp index ee4417db4f..8c384b9c8b 100644 --- a/rocclr/runtime/device/rocm/rocprogram.cpp +++ b/rocclr/runtime/device/rocm/rocprogram.cpp @@ -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());