P4 to Git Change 1392064 by smekhano@stas-mwamba-rocm on 2017/03/29 13:38:24

SWDEV-116959 - ROCm OpenCL: split -amdgpu-internalize-symbols and -amdgpu-early-inline-all
	We shall not run internalize pass in FE, it breaks separate compilation.
	Thus two options are split now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#61 edit
Cette révision appartient à :
foreman
2017-03-29 13:51:36 -04:00
Parent 29b6e107f0
révision a831af4af0
4 fichiers modifiés avec 4 ajouts et 4 suppressions
+1 -1
Voir le fichier
@@ -273,7 +273,7 @@ LightningProgram::compileImpl(
driverOptions.append(hsailOptions(options));
// Set whole program mode
driverOptions.append(" -mllvm -amdgpu-internalize-symbols");
driverOptions.append(" -mllvm -amdgpu-early-inline-all");
//Find the temp folder for the OS
std::string tempFolder = amd::Os::getEnvironment("TEMP");