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]
Этот коммит содержится в:
foreman
2017-09-21 10:11:44 -04:00
родитель 75c42c1ed6
Коммит e592f3ce2d
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#