P4 to Git Change 1388100 by smekhano@stas-mwamba-rocm on 2017/03/20 18:15:21

SWDEV-105835 - ROCm OpenCL: add -amdgpu-internalize-symbols to FE
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#29 edit


[ROCm/clr commit: a92d053618]
Tento commit je obsažen v:
foreman
2017-03-20 18:24:01 -04:00
rodič 52932f41fc
revize dbefef86ea
2 změnil soubory, kde provedl 6 přidání a 0 odebrání
+3
Zobrazit soubor
@@ -272,6 +272,9 @@ LightningProgram::compileImpl(
driverOptions.append(options->llvmOptions);
driverOptions.append(hsailOptions(options));
// Set whole program mode
driverOptions.append(" -mllvm -amdgpu-internalize-symbols");
//Find the temp folder for the OS
std::string tempFolder = amd::Os::getEnvironment("TEMP");
if (tempFolder.empty()) {
+3
Zobrazit soubor
@@ -99,6 +99,9 @@ HSAILProgram::compileImpl_LC(
driverOptions.append(options->llvmOptions);
// Set whole program mode
driverOptions.append(" -mllvm -amdgpu-internalize-symbols");
driverOptions.append(preprocessorOptions(options));
//Find the temp folder for the OS