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
[ROCm/clr commit: 92570dd4cd]
Этот коммит содержится в:
@@ -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#
|
||||
|
||||
@@ -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#
|
||||
|
||||
Ссылка в новой задаче
Block a user