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


[ROCm/clr commit: a831af4af0]
Tento commit je obsažen v:
foreman
2017-03-29 13:51:36 -04:00
rodič 7905b814f9
revize 399be0411f
4 změnil soubory, kde provedl 4 přidání a 4 odebrání
+1 -1
Zobrazit soubor
@@ -820,7 +820,7 @@ HSAILProgram::linkImpl_LC(amd::option::Options *options)
codegenOptions.append(" ").append(ostrstr.str());
// Set whole program mode
codegenOptions.append(" -mllvm -amdgpu-internalize-symbols");
codegenOptions.append(" -mllvm -amdgpu-internalize-symbols -mllvm -amdgpu-early-inline-all");
// Tokenize the options string into a vector of strings
std::istringstream strstr(codegenOptions);