P4 to Git Change 1334142 by gandryey@gera-ocl-lc on 2016/10/31 14:17:14
SWDEV-86035 - Add PAL backend to OpenCL
- Fix 2 warnings with LC path
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#19 edit
[ROCm/clr commit: a214437836]
This commit is contained in:
@@ -211,7 +211,7 @@ LightningProgram::newCompilerInstance()
|
||||
pthread_once(&once, checkLLVM_BIN);
|
||||
#endif // defined(ATI_OS_LINUX)
|
||||
#if defined(DEBUG)
|
||||
std::string clangExe(llvmBin_ + "/clang");
|
||||
std::string clangExe(llvmBin_ + LINUX_SWITCH("/clang", "\\clang.exe"));
|
||||
struct stat buf;
|
||||
if (stat(clangExe.c_str(), &buf)) {
|
||||
std::string msg("Could not find the Clang binary in " + llvmBin_);
|
||||
|
||||
@@ -1338,7 +1338,8 @@ LightningProgram::setKernels(
|
||||
return false;
|
||||
}
|
||||
|
||||
setGlobalVariableTotalSize(progvarsTotalSize);
|
||||
// note: The global variable size is updated in the context loader
|
||||
//setGlobalVariableTotalSize(progvarsTotalSize);
|
||||
|
||||
// Get the list of kernels
|
||||
std::vector<std::string> kernelNameList;
|
||||
|
||||
Reference in New Issue
Block a user