P4 to Git Change 1446561 by smekhano@stas-mwamba-rocm on 2017/08/13 15:22:24
SWDEV-127767 - COmplib: process -fuse-native option with LC Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#41 edit
Tá an tiomantas seo le fáil i:
1 tuismitheoir
1d7462b716
tiomantas
3c8eb3ec8e
3 comhad athraithe
+9
-2
Níor tháinig aon chomhaid le do chuardach
@@ -260,7 +260,7 @@ bool LightningProgram::compileImpl(const std::string& sourceCode,
|
||||
driverOptions.append(hsailOptions(options));
|
||||
|
||||
// Set whole program mode
|
||||
driverOptions.append(" -mllvm -amdgpu-early-inline-all");
|
||||
driverOptions.append(" -mllvm -amdgpu-early-inline-all -mllvm -amdgpu-prelink");
|
||||
|
||||
// Find the temp folder for the OS
|
||||
std::string tempFolder = amd::Os::getEnvironment("TEMP");
|
||||
|
||||
@@ -100,7 +100,7 @@ bool HSAILProgram::compileImpl_LC(const std::string& sourceCode,
|
||||
driverOptions.append(options->llvmOptions);
|
||||
|
||||
// Set whole program mode
|
||||
driverOptions.append(" -mllvm -amdgpu-early-inline-all");
|
||||
driverOptions.append(" -mllvm -amdgpu-early-inline-all -mllvm -amdgpu-prelink");
|
||||
|
||||
driverOptions.append(preprocessorOptions(options));
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir