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
This commit is contained in:
foreman
2017-08-13 15:35:34 -04:00
parent 1d7462b716
commit 3c8eb3ec8e
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -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");