P4 to Git Change 1461559 by akasauro@akasauro_fiji1_opencl_rocm on 2017/09/21 10:00:24

SWDEV-118564 - [OCL-LC-ROCm] Revert deletion of "-x cl" related comments

	Review: http://ocltc.amd.com/reviews/r/13454/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#37 edit
此提交包含在:
foreman
2017-09-21 10:11:44 -04:00
父節點 c7dbd490b0
當前提交 92570dd4cd
共有 2 個檔案被更改,包括 6 行新增0 行删除
+3
查看文件
@@ -241,6 +241,9 @@ bool LightningProgram::compileImpl(const std::string& sourceCode,
buildLog_ += "Unsupported OpenCL language.\n";
}
// FIXME_Nikolay: the program manager should be setting the language
// driverOptions.append(" -x cl");
driverOptions.append(" -cl-std=").append(options->oVariables->CLStd);
// Set the -O#
+3
查看文件
@@ -83,6 +83,9 @@ bool HSAILProgram::compileImpl_LC(const std::string& sourceCode,
buildLog_ += "Unsupported OpenCL language.\n";
}
// FIXME_Nikolay: the program manager should be setting the language
// driverOptions.append(" -x cl");
driverOptions.append(" -cl-std=").append(options->oVariables->CLStd);
// Set the -O#